System.Windows.Controls.Primitives Namespace

包含旨在用作其他更复杂控件的一部分的基类和控件。 Contains base classes and controls that are intended to be used as part of other more complex controls.

BulletDecorator

表示一个布局控件,该控件将项目符号与另一个可视对象对齐。Represents a layout control that aligns a bullet and another visual object.

ButtonBase

表示所有 Button 控件的基类。Represents the base class for all Button controls.

CalendarButton

表示 Calendar 对象上的月份或年份。Represents a month or year on a Calendar object.

CalendarDayButton

表示 Calendar 上的日。Represents a day on a Calendar.

CalendarItem

表示 Calendar 上当前显示的月份或年份。Represents the currently displayed month or year on a Calendar.

DataGridCellsPresenter

DataGrid 的模板中使用,用于指定要将单元格添加到控件的可视化树中的什么位置。Used within the template of a DataGrid to specify the location in the control's visual tree where the cells are to be added.

DataGridColumnHeader

表示单个 DataGrid 列标题。Represents an individual DataGrid column header.

DataGridColumnHeadersPresenter

DataGrid 的模板中使用,用于指定要将列标题添加到控件的可视化树中的什么位置。Used within the template of a DataGrid to specify the location in the control's visual tree where the column headers are to be added.

DataGridDetailsPresenter

DataGrid 的模板中使用,用于指定要将行详细信息添加到控件的可视化树中的什么位置。Used within the template of a DataGrid to specify the location in the control's visual tree where the row details are to be added.

DataGridRowHeader

表示单个 DataGrid 行标题。Represents an individual DataGrid row header.

DataGridRowsPresenter

DataGrid 的模板中使用,用于指定要将行添加到控件的可视化树中的什么位置。Used within the template of a DataGrid to specify the location in the control's visual tree where the rows are to be added.

DatePickerTextBox

表示 DatePicker 的文本输入。Represents the text input of a DatePicker.

DocumentPageView

表示已分页 DocumentPage 的视区。Represents a viewport for a paginated DocumentPage.

DocumentViewerBase

提供用于显示固定内容或流动内容(分别由 FixedDocumentFlowDocument 表示)的查看器的基类。Provides a base class for viewers that are intended to display fixed or flow content (represented by a FixedDocument or FlowDocument, respectively).

DragCompletedEventArgs

提供有关当用户使用鼠标完成 DragCompleted 控件的拖动操作时发生的 Thumb 事件的信息。Provides information about the DragCompleted event that occurs when a user completes a drag operation with the mouse of a Thumb control.

DragDeltaEventArgs

提供有关在用户使用鼠标拖动 DragDelta 控件时发生一次或多次的 Thumb 事件的信息。Provides information about the DragDelta event that occurs one or more times when a user drags a Thumb control with the mouse.

DragStartedEventArgs

提供有关当用户使用鼠标拖动 Thumb 控件时发生的 DragStarted 事件的信息。Provides information about the DragStarted event that occurs when a user drags a Thumb control with the mouse.

GridViewRowPresenterBase

表示用于定义数据行布局的基类,在这些数据行中,不同的数据项显示在不同的列中。Represents the base class for classes that define the layout for a row of data where different data items are displayed in different columns.

ItemsChangedEventArgs

ItemsChanged 事件提供数据。Provides data for the ItemsChanged event.

LayoutInformation

定义提供关于元素布局状态的其他信息的方法。Defines methods that provide additional information about the layout state of an element.

MenuBase

表示一个控件,该控件定义供用户选择的选项。Represents a control that defines choices for users to select.

MultiSelector

为允许选择多项的控件提供抽象类。Provides an abstract class for controls that allow multiple items to be selected.

Popup

表示具有内容的弹出窗口。Represents a pop-up window that has content.

RangeBase

表示具有特定范围内值的元素。Represents an element that has a value within a specific range.

RepeatButton

表示从按下按钮到释放按钮的时间内重复引发其 Click 事件的控件。Represents a control that raises its Click event repeatedly from the time it is pressed until it is released.

ResizeGrip

表示使 Thumb 能够更改其大小的 Window 控件的一个实现。Represents an implementation of a Thumb control that enables a Window to change its size.

ScrollBar

表示提供滚动条的控件,该滚动条具有一个滑动 Thumb,其位置对应于一个值。Represents a control that provides a scroll bar that has a sliding Thumb whose position corresponds to a value.

ScrollEventArgs

为在 ScrollThumb 移动时发生的 ScrollBar 事件提供数据。Provides data for a Scroll event that occurs when the Thumb of a ScrollBar moves.

SelectiveScrollingGrid

一个可在视图滚动时将指定单元格固定在原位的面板。A panel that can hold specified cells in place when the view is scrolled.

Selector

表示允许用户从其子元素中选择项的控件。Represents a control that allows a user to select items from among its child elements.

StatusBar

表示一个控件,该控件在应用程序窗口的水平栏中显示项和信息。Represents a control that displays items and information in a horizontal bar in an application window.

StatusBarItem

表示 StatusBar 控件的项。Represents an item of a StatusBar control.

TabPanel

处理 TabItem 上的 TabControl 对象的布局。Handles the layout of the TabItem objects on a TabControl.

TextBoxBase

为文本编辑控件提供功能的抽象基类,包括 TextBoxRichTextBoxAn abstract base class that provides functionality for text editing controls, including TextBox and RichTextBox.

Thumb

表示可由用户拖动的控件。Represents a control that can be dragged by the user.

TickBar

表示一个控件,该控件为 Slider 控件绘制一组刻度线。Represents a control that draws a set of tick marks for a Slider control.

ToggleButton

可切换状态的控件基类,例如 CheckBoxBase class for controls that can switch states, such as CheckBox.

ToolBarOverflowPanel

用来排列溢出的 ToolBar 项。Used to arrange overflow ToolBar items.

ToolBarPanel

ToolBar 中排列 ToolBar 项。Arranges ToolBar items inside a ToolBar.

Track

表示一个处理 Thumb 控件的定位和大小调整的控件基元和两个用于设置 RepeatButtonValue 控件。Represents a control primitive that handles the positioning and sizing of a Thumb control and two RepeatButton controls that are used to set a Value.

UniformGrid

提供一种在网格(网格中的所有单元格都具有相同的大小)中排列内容的方法。Provides a way to arrange content in a grid where all the cells in the grid have the same size.

结构

CustomPopupPlacement

定义 Popup 控件的自定义放置参数。Defines custom placement parameters for a Popup control.

GeneratorPosition

GeneratorPosition 用于描述由 ItemContainerGenerator 管理的项的位置。GeneratorPosition is used to describe the position of an item that is managed by ItemContainerGenerator.

接口

IContainItemStorage

为项目面板提供属性包实现。Provides a property bag implementation for item panels.

IHierarchicalVirtualizationAndScrollInfo

提供属性,控件通过他可显示与 VirtualizingPanel 通信的数据。Provides properties through which a control that displays hierarchical data communicates with a VirtualizingPanel.

IItemContainerGenerator

由负责代表主机生成用户界面 (UI) 内容的类所实现的接口。An interface that is implemented by classes which are responsible for generating user interface (UI) content on behalf of a host.

IRecyclingItemContainerGenerator

扩展 IItemContainerGenerator 接口以重用它生成的 UI 内容。Extends the IItemContainerGenerator interface to reuse the UI content it generates. 负责代表宿主生成用户界面 (UI) 内容的类实现此接口。Classes that are responsible for generating user interface (UI) content on behalf of a host implement this interface.

IScrollInfo

表示 ScrollViewer 控件内的主要可滚动区域。Represents the main scrollable region inside a ScrollViewer control.

枚举

AutoToolTipPlacement

描述自动 ToolTipSlider 控件上的定位方式。Describes the means by which the automatic ToolTip is positioned on a Slider control.

GeneratorDirection

指定生成项时使用的方向。 GeneratorDirection 使用 StartAtGeneratorDirection is used by StartAt.

GeneratorStatus

ItemContainerGenerator 使用以指示其项生成的状态。Used by ItemContainerGenerator to indicate the status of its item generation.

PlacementMode

描述 Popup 控件在屏幕上显示的位置。Describes the placement of where a Popup control appears on the screen.

PopupAnimation

描述 Popup 控件在打开时如何显示动画。Describes how a Popup control animates when it opens.

PopupPrimaryAxis

描述为了增加可见的 Popup 量,而需要朝哪个方向移动 Popup 控件。Describes the direction to move a Popup control to increase the amount of the Popup that is visible.

ScrollEventType

描述导致 Scroll 控件发生 ScrollBar 事件的行为。Describes the behavior that caused a Scroll event for a ScrollBar control.

TickBarPlacement

指定 TickBar 相对于 TrackSlider 的位置。Specifies the placement of a TickBar with respect to the Track of a Slider control.

TickPlacement

指定 Slider 控件中的刻度线相对于该控件实现的 Track 的位置。Specifies the position of tick marks in a Slider control with respect to the Track that the control implements.

委托

CustomPopupPlacementCallback

表示为 Popup 控件提供自定义定位的一种方法。Represents a method that provides custom positioning for a Popup control.

DragCompletedEventHandler

表示将处理 Thumb 控件的 DragCompleted 路由事件的方法。Represents a method that will handle the DragCompleted routed event of a Thumb control.

DragDeltaEventHandler

表示将处理 Thumb 控件的 DragDelta 路由事件的方法。Represents a method that will handle the DragDelta routed event of a Thumb control.

DragStartedEventHandler

表示将处理 Thumb 控件的 DragStarted 路由事件的方法。Represents the method that will handle the DragStarted routed event of a Thumb control.

ItemsChangedEventHandler

表示用来处理 ItemsChanged 事件的方法。Represents the method that will handle the ItemsChanged event.

ScrollEventHandler

表示用于处理 ScrollBarThumb 移动时发生的 Scroll 路由事件的方法。Represents the method that will handle the Scroll routed event that occurs when the Thumb of a ScrollBar moves.