System.Windows.Controls 命名空间

提供一些类以创建称为控件的元素,从而使用户可使用这些元素与应用程序进行交互。 Provides classes to create elements, known as controls, that enable a user to interact with an application. 控件类在用户的所有应用程序体验中处于核心地位,因为用户可使用它们来查看、选择或输入数据或其他信息。 The control classes are at the core of the user's experience with any application because they allow a user to view, select, or enter data or other information.

AccessText

用下划线来指定用作访问键的字符。Specifies with an underscore the character that is used as the access key.

ActivatingKeyTipEventArgs

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

AddingNewItemEventArgs

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

AdornedElementPlaceholder

表示 ControlTemplate 中使用的元素,该元素用于指定修饰控件相对于 ControlTemplate 中的其他元素所放置的位置。Represents the element used in a ControlTemplate to specify where a decorated control is placed relative to other elements in the ControlTemplate.

AlternationConverter

通过将整数作为索引应用于对象列表,进行整数和对象的相互转换。Converts an integer to and from an object by applying the integer as an index to a list of objects.

BooleanToVisibilityConverter

表示将布尔值与 Visibility 枚举值相互转换的转换器。Represents the converter that converts Boolean values to and from Visibility enumeration values.

Border

在另一个元素四周绘制边框和/或背景。Draws a border, background, or both around another element.

BorderGapMaskConverter

表示一个转换器,该转换器将 GroupBox 控件的维度转换为 VisualBrushRepresents a converter that converts the dimensions of a GroupBox control into a VisualBrush.

Button

表示 Windows 按钮控件,该按钮对 Click 事件做出反应。Represents a Windows button control, which reacts to the Click event.

Calendar

代表一个控件,此控件允许用户使用可视的日历显示来选择日期。Represents a control that enables a user to select a date by using a visual calendar display.

CalendarBlackoutDatesCollection

表示 Calendar 中的非可选日期的集合。Represents a collection of non-selectable dates in a Calendar.

CalendarDateChangedEventArgs

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

CalendarDateRange

表示 Calendar 中的日期范围。Represents a range of dates in a Calendar.

CalendarModeChangedEventArgs

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

Canvas

定义一个区域,可在其中使用相对于 Canvas 区域的坐标以显式方式来定位子元素。Defines an area within which you can explicitly position child elements by using coordinates that are relative to the Canvas area.

CheckBox

表示用户可以选择和清除的控件。Represents a control that a user can select and clear.

CleanUpVirtualizedItemEventArgs

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

ColumnDefinition

定义应用于 Grid 元素的特定于列的属性。Defines column-specific properties that apply to Grid elements.

ColumnDefinitionCollection

提供对 ColumnDefinition 对象的有序强类型集合的访问。Provides access to an ordered, strongly typed collection of ColumnDefinition objects.

ComboBox

表示带有下拉列表的选择控件,通过单击控件上的箭头可显示或隐藏下拉列表。Represents a selection control with a drop-down list that can be shown or hidden by clicking the arrow on the control.

ComboBoxItem

ComboBox 内实现可选择的项。Implements a selectable item inside a ComboBox.

ContentControl

表示包含一段任意类型内容的控件。Represents a control with a single piece of content of any type.

ContentPresenter

显示 ContentControl 的内容。Displays the content of a ContentControl.

ContextMenu

表示一个弹出菜单,该弹出菜单使控件能够公开特定于该控件的上下文的功能。Represents a pop-up menu that enables a control to expose functionality that is specific to the context of the control.

ContextMenuEventArgs

为上下文菜单事件提供数据。Provides data for the context menu event.

ContextMenuService

提供用于显示 ContextMenu 的系统实现。Provides the system implementation for displaying a ContextMenu.

Control

表示用户界面 (UI) 元素的基类,这些元素使用 ControlTemplate 来定义其外观。Represents the base class for user interface (UI) elements that use a ControlTemplate to define their appearance.

ControlTemplate

指定 Control 的可在其多个实例之间共享的可视结构和行为方面。Specifies the visual structure and behavioral aspects of a Control that can be shared across multiple instances of the control.

DataErrorValidationRule

表示一个规则,该规则检查由源对象的 IDataErrorInfo 实现所引发的错误。Represents a rule that checks for errors that are raised by the IDataErrorInfo implementation of the source object.

DataGrid

表示用于在可自定义的网格中显示数据的控件。Represents a control that displays data in a customizable grid.

DataGridAutoGeneratingColumnEventArgs

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

DataGridBeginningEditEventArgs

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

DataGridBoundColumn

用作列的基类,这些列可绑定到 DataGrid 的数据源中的属性。Serves as the base class for columns that can bind to a property in the data source of a DataGrid.

DataGridCell

表示 DataGrid 控件的单元格。Represents a cell of a DataGrid control.

DataGridCellClipboardEventArgs

提供有关 CopyingCellClipboardContentPastingCellClipboardContent 事件的数据。Provides data for the CopyingCellClipboardContent and PastingCellClipboardContent events.

DataGridCellEditEndingEventArgs

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

DataGridCellsPanel

表示一个面板,该面板在数据网格中对单元格和列标题进行布局。Represents a panel that lays out cells and column headers in a data grid.

DataGridCheckBoxColumn

表示一个 DataGrid 列,该列在其单元格中承载 CheckBox 控件。Represents a DataGrid column that hosts CheckBox controls in its cells.

DataGridColumn

表示一个 DataGrid 列。Represents a DataGrid column.

DataGridColumnEventArgs

提供有关 ColumnDisplayIndexChangedColumnReordered 事件的数据。Provides data for the ColumnDisplayIndexChanged and ColumnReordered events.

DataGridColumnReorderingEventArgs

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

DataGridComboBoxColumn

表示一个 DataGrid 列,该列在其单元格中承载 ComboBox 控件。Represents a DataGrid column that hosts ComboBox controls in its cells.

DataGridHyperlinkColumn

表示一个 DataGrid 列,该列在其单元格中承载 Uri 元素。Represents a DataGrid column that hosts Uri elements in its cells.

DataGridLengthConverter

DataGridLength 类的实例与各种类型的实例之间进行转换。Converts instances of various types to and from instances of the DataGridLength class.

DataGridPreparingCellForEditEventArgs

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

DataGridRow

表示一个 DataGrid 行。Represents a DataGrid row.

DataGridRowClipboardEventArgs

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

DataGridRowDetailsEventArgs

LoadingRowDetailsUnloadingRowDetailsRowDetailsVisibilityChanged 事件提供数据。Provides data for the LoadingRowDetails, UnloadingRowDetails, and RowDetailsVisibilityChanged events.

DataGridRowEditEndingEventArgs

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

DataGridRowEventArgs

提供有关 LoadingRowUnloadingRow 事件的数据。Provides data for the LoadingRow and UnloadingRow events.

DataGridSortingEventArgs

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

DataGridTemplateColumn

表示一个 DataGrid 列,该列在其单元格中承载模板指定的内容。Represents a DataGrid column that hosts template-specified content in its cells.

DataGridTextColumn

表示一个 DataGrid 列,该列在其单元格中承载文本内容。Represents a DataGrid column that hosts textual content in its cells.

DataTemplateSelector

提供一种方式,用于根据数据对象和数据绑定元素来选择 DataTemplateProvides a way to choose a DataTemplate based on the data object and the data-bound element.

DatePicker

表示一个允许用户选择日期的控件。Represents a control that allows the user to select a date.

DatePickerDateValidationErrorEventArgs

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

Decorator

提供在单个子元素(如 BorderViewbox)上或周围应用效果的元素的基类。Provides a base class for elements that apply effects onto or around a single child element, such as Border or Viewbox.

DefinitionBase

定义支持 ColumnDefinitionCollectionRowDefinitionCollection 类使用的共享大小组所需的功能。Defines the functionality required to support a shared-size group that is used by the ColumnDefinitionCollection and RowDefinitionCollection classes. 这是一个抽象类。This is an abstract class.

DockPanel

定义一个区域,从中可以按相对位置水平或垂直排列各个子元素。Defines an area where you can arrange child elements either horizontally or vertically, relative to each other.

DocumentViewer

表示一个文档查看控件,该控件可以承载分页的 FixedDocument 内容,例如 XpsDocumentRepresents a document viewing control that can host paginated FixedDocument content such as an XpsDocument.

ExceptionValidationRule

表示用于检查绑定源属性更新过程中抛出的异常的规则。Represents a rule that checks for exceptions that are thrown during the update of the binding source property.

Expander

表示一种控件,该控件显示具有可折叠内容显示窗口的标题。Represents the control that displays a header that has a collapsible window that displays content.

FlowDocumentPageViewer

表示一种控件,该控件以固定查看模式查看流内容(一次显示一页内容)。Represents a control for viewing flow content in a fixed viewing mode that shows content one page at a time.

FlowDocumentReader

提供一种查看流内容的控件,该控件内置了对多种查看模式的支持。Provides a control for viewing flow content, with built-in support for multiple viewing modes.

FlowDocumentScrollViewer

提供一种控件,该控件以连续滚动模式查看流内容。Provides a control for viewing flow content in a continuous scrolling mode.

Frame

框架是一种支持导航的内容控件。Frame is a content control that supports navigation.

Grid

定义由列和行组成的灵活的网格区域。Defines a flexible grid area that consists of columns and rows.

GridSplitter

表示重新分布 Grid 控件的列间距或行间距的控件。Represents the control that redistributes space between columns or rows of a Grid control.

GridView

表示 ListView 控件的以列形式显示数据项的视图模式。Represents a view mode that displays data items in columns for a ListView control.

GridViewColumn

表示显示数据的列。Represents a column that displays data.

GridViewColumnCollection

表示 GridViewColumn 对象集合。Represents a collection of GridViewColumn objects.

GridViewColumnHeader

表示 GridViewColumn 的列标题。Represents a column header for a GridViewColumn.

GridViewHeaderRowPresenter

表示定义列标题的行布局所用的对象。Represents an object that is used to define the layout of a row of column headers.

GridViewRowPresenter

表示指定数据的行布局所用的对象。Represents an object that specifies the layout of a row of data.

GroupBox

表示一个控件,该控件用于创建具有用户界面 (UI) 内容边框和标题的容器。Represents a control that creates a container that has a border and a header for user interface (UI) content.

GroupItem

显示为为组生成的可视化子树的根元素。Appears as the root of the visual subtree generated for a group.

GroupStyle

定义希望组查看每个级别的方式。Defines how you want the group to look at each level.

HeaderedContentControl

为包含单项内容并具有标头的所有控件提供基实现。Provides the base implementation for all controls that contain single content and have a header.

HeaderedItemsControl

表示包含多个项并且具有标题的控件。Represents a control that contains multiple items and has a header.

Image

表示用于显示图像的控件。Represents a control that displays an image.

InitializingNewItemEventArgs

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

InkCanvas

定义接收和显示墨迹笔划的区域。Defines an area that receives and displays ink strokes.

InkCanvasGestureEventArgs

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

InkCanvasSelectionChangingEventArgs

SelectionChanging 提供数据。Provides data for the SelectionChanging.

InkCanvasSelectionEditingEventArgs

提供有关 SelectionMovingSelectionResizing 事件的数据。Provides data for the SelectionMoving and SelectionResizing events.

InkCanvasStrokeCollectedEventArgs

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

InkCanvasStrokeErasingEventArgs

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

InkCanvasStrokesReplacedEventArgs

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

InkPresenter

在图面上呈现墨迹。Renders ink on a surface.

ItemCollection

保留构成 ItemsControl 内容的项的列表。Holds the list of items that constitute the content of an ItemsControl.

ItemContainerGenerator

代表主机主机生成用户界面 (UI),例如 ItemsControlGenerates the user interface (UI) on behalf of its host, such as an ItemsControl.

ItemContainerTemplate

提供模板以为 ItemsControl 对象生产容器。Provides the template for producing a container for an ItemsControl object.

ItemContainerTemplateKey

ItemContainerTemplate 对象提供源键。Provides a resource key for an ItemContainerTemplate object.

ItemContainerTemplateSelector

使您能够在 ItemContainerTemplate 中为每个项选择 ItemsControlEnables you to select an ItemContainerTemplate for each item within an ItemsControl.

ItemsControl

表示可用于呈现一组项的控件。Represents a control that can be used to present a collection of items.

ItemsPanelTemplate

指定 ItemsPresenterItemsControl 的项的布局创建的面板。Specifies the panel that the ItemsPresenter creates for the layout of the items of an ItemsControl.

ItemsPresenter

在项控件的模板中使用,用于指定要将 ItemsPanel 定义的 ItemsControl 添加到控件的可视化树中的什么位置。Used within the template of an item control to specify the place in the control's visual tree where the ItemsPanel defined by the ItemsControl is to be added.

KeyTipAccessedEventArgs

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

KeyTipControl

表示在 KeyTip 内部使用的控件。Represents the control used inside the KeyTip.

KeyTipService

表示提供属性、方法和事件以在 WPF Ribbon 控件中启用并管理快捷键提示的服务。Represents a service that provides properties, methods, and events to enable and manage KeyTips in WPF Ribbon controls.

Label

表示控件的文本标签,并提供访问密钥支持。Represents the text label for a control and provides support for access keys.

ListBox

包含可选项列表。Contains a list of selectable items.

ListBoxItem

表示 ListBox 中的可选项。Represents a selectable item in a ListBox.

ListView

表示用于显示数据项列表的控件。Represents a control that displays a list of data items.

ListViewItem

表示 ListView 控件中的项。Represents an item in a ListView control.

MediaElement

表示包含音频和/或视频的控件。Represents a control that contains audio and/or video.

Menu

表示一个 Windows 菜单控件,该控件可用于按层次组织与命令和事件处理程序关联的元素。Represents a Windows menu control that enables you to hierarchically organize elements associated with commands and event handlers.

MenuItem

表示 Menu 内某个可选择的项。Represents a selectable item inside a Menu.

MenuScrollingVisibilityConverter

表示用于处理滚动菜单中重复按钮的可见性的数据绑定转换器。Represents a data-binding converter to handle the visibility of repeat buttons in scrolling menus.

NotifyDataErrorValidationRule

表示一个规则,该规则检查由源对象的 INotifyDataErrorInfo 实现所引发的错误。Represents a rule that checks for errors that are raised by a data source that implements INotifyDataErrorInfo.

Page

封装一页可由 Windows Internet Explorer、NavigationWindowFrame 导航到和承载的内容。Encapsulates a page of content that can be navigated to and hosted by Windows Internet Explorer, NavigationWindow, and Frame.

Panel

为所有 Panel 元素提供基类。Provides a base class for all Panel elements. 使用 Panel 元素放置和排列 Windows Presentation Foundation (WPF) 应用程序中的子对象。Use Panel elements to position and arrange child objects in Windows Presentation Foundation (WPF) applications.

PasswordBox

表示为输入和处理密码而设计的控件。Represents a control designed for entering and handling passwords.

PrintDialog

调用标准的 Microsoft Windows 打印对话框,此对话框可根据用户输入配置 PrintTicketPrintQueue,然后打印文档。Invokes a standard Microsoft Windows print dialog box that configures a PrintTicket and PrintQueue according to user input and then prints a document.

PrintDialogException

当在打开、访问或使用一个 PrintDialog 的过程中发生错误情况时引发的异常。The exception that is thrown when an error condition occurs during the opening, accessing, or using of a PrintDialog.

ProgressBar

指示操作进度。Indicates the progress of an operation.

RadioButton

表示可由用户选择但不能清除的按钮。Represents a button that can be selected, but not cleared, by a user. 可以通过单击来设置 IsCheckedRadioButton 属性,但只能以编程方式清除该属性。The IsChecked property of a RadioButton can be set by clicking it, but it can only be cleared programmatically.

RichTextBox

表示对 FlowDocument 对象执行操作的丰富编辑控件。Represents a rich editing control which operates on FlowDocument objects.

RowDefinition

定义应用于 Grid 元素的特定于行的属性。Defines row-specific properties that apply to Grid elements.

RowDefinitionCollection

提供对 RowDefinition 对象的有序强类型集合的访问。Provides access to an ordered, strongly typed collection of RowDefinition objects.

ScrollChangedEventArgs

描述了滚动状态的更改,并包括 ScrollChanged 事件的必需自变量。Describes a change in the scrolling state and contains the required arguments for a ScrollChanged event.

ScrollContentPresenter

显示 ScrollViewer 控件的内容。Displays the content of a ScrollViewer control.

ScrollViewer

表示可包含其他可视元素的可滚动区域。Represents a scrollable area that can contain other visible elements.

SelectedCellsChangedEventArgs

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

SelectedDatesCollection

表示 Calendar 中一组选中的日期。Represents a set of selected dates in a Calendar.

SelectionChangedEventArgs

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

Separator

用于分隔项控件中各个项的控件。Control that is used to separate items in items controls.

Slider

表示一个控件,该控件可让用户通过沿 Thumb 移动 Track 控件从一个值范围中进行选择。Represents a control that lets the user select from a range of values by moving a Thumb control along a Track.

SoundPlayerAction

表示用于播放 .wav 文件的轻量音频播放 TriggerActionRepresents a lightweight audio playback TriggerAction used to play .wav files.

SpellCheck

向文本编辑控件(如 TextBoxRichTextBox)提供实时拼写检查功能。Provides real-time spell-checking functionality to text-editing controls, such as TextBox and RichTextBox.

SpellingError

表示编辑控件(即 TextBoxRichTextBox)中拼写错误的单词。Represents a misspelled word in an editing control (i.e. TextBox or RichTextBox).

StackPanel

将子元素排列成水平或垂直的一行。Arranges child elements into a single line that can be oriented horizontally or vertically.

StickyNoteControl

表示一个控件,该控件允许用户在文档中附加键入的文本或手写的批注。Represents a control that lets users attach typed text or handwritten annotations to documents.

StyleSelector

提供根据自定义逻辑应用样式的方法。Provides a way to apply styles based on custom logic.

TabControl

表示包含多个项的控件,这些项共享屏幕上的同一空间。Represents a control that contains multiple items that share the same space on the screen.

TabItem

表示 TabControl 内某个可选择的项。Represents a selectable item inside a TabControl.

TextBlock

提供一个轻型控件,用于显示少量流内容。Provides a lightweight control for displaying small amounts of flow content.

TextBox

表示一个控件,该控件可用于显示或编辑无格式文本。Represents a control that can be used to display or edit unformatted text.

TextChange

包含有关在 TextChanged 事件中发生的更改的信息。Contains information about the changes that occur in the TextChanged event.

TextChangedEventArgs

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

TextSearch

使用户能够通过键入字符串的前缀来快速访问组中的项。Enables a user to quickly access items in a set by typing prefixes of strings.

ToolBar

为一组命令或控件提供容器。Provides a container for a group of commands or controls.

ToolBarTray

表示处理 ToolBar 的布局的容器。Represents the container that handles the layout of a ToolBar.

ToolTip

表示一个控件,该控件可创建一个弹出窗口,以便在界面中显示元素的信息。Represents a control that creates a pop-up window that displays information for an element in the interface.

ToolTipEventArgs

为在工具提示打开或关闭时发生的事件提供事件信息。Provides event information for events that occur when a tooltip opens or closes.

ToolTipService

表示一个服务,该服务提供用于控制工具提示的显示和行为的属性和事件。Represents a service that provides properties and events to control the display and behavior of tooltips.

TreeView

表示一个控件,该控件在树结构(其中的项可以展开和折叠)中显示分层数据。Represents a control that displays hierarchical data in a tree structure that has items that can expand and collapse.

TreeViewItem

实现 TreeView 控件中的可选择项。Implements a selectable item in a TreeView control.

UIElementCollection

表示 UIElement 子元素的有序集合。Represents an ordered collection of UIElement child elements.

UserControl

提供一种创建控件的简单方法。Provides a simple way to create a control.

Validation

提供支持数据验证的方法和附加属性。Provides methods and attached properties that support data validation.

ValidationError

表示一个验证错误,该错误在 ValidationRule 报告验证错误时由绑定引擎创建,或者通过 MarkInvalid(BindingExpressionBase, ValidationError) 方法显式创建。Represents a validation error that is created either by the binding engine when a ValidationRule reports a validation error, or through the MarkInvalid(BindingExpressionBase, ValidationError) method explicitly.

ValidationErrorEventArgs

提供 Error 附加事件的相关信息。Provides information for the Error attached event.

ValidationResult

表示从 ValidationRule.Validate(Object, CultureInfo) 返回的结果Represents the result returned by the ValidationRule.Validate(Object, CultureInfo) 方法指示选中值是否通过 ValidationRulemethod that indicates whether the checked value passed the ValidationRule.

ValidationRule

提供一种为检查用户输入的有效性而创建自定义规则的方法。Provides a way to create a custom rule in order to check the validity of user input.

ViewBase

表示定义 ListView 控件中数据外观的视图的基类。Represents the base class for views that define the appearance of data in a ListView control.

Viewbox

定义一个内容修饰器,以便拉伸或缩放单一子项使其填满可用的控件。Defines a content decorator that can stretch and scale a single child to fill the available space.

Viewport3D

呈现 Viewport3D 元素的 2-D 布局范围内包含的 3-D 内容。Renders the contained 3-D content within the 2-D layout bounds of the Viewport3D element.

VirtualizationCacheLengthConverter

在对象和 VirtualizationCacheLength 之间来回转换。Converts objects to and from a VirtualizationCacheLength.

VirtualizingPanel

为虚拟化其子数据集合的 Panel 元素提供一个框架。Provides a framework for Panel elements that virtualize their child data collection. 这是一个抽象类。This is an abstract class.

VirtualizingStackPanel

在水平或垂直的一行中排列并显示内容。Arranges and virtualizes content on a single line that is oriented either horizontally or vertically.

WebBrowser

承载 HTML 文档并在其之间导航。Hosts and navigates between HTML documents. 启用 WPF 托管代码和 HTML 脚本之间的互操作性。Enables interoperability between WPF managed code and HTML script.

WrapPanel

按从左到右的顺序位置定位子元素,在包含框的边缘处将内容切换到下一行。Positions child elements in sequential position from left to right, breaking content to the next line at the edge of the containing box. 后续排序按照从上至下或从右至左的顺序进行,具体取决于 Orientation 属性的值。Subsequent ordering happens sequentially from top to bottom or from right to left, depending on the value of the Orientation property.

结构

DataGridCellInfo

表示有关 DataGrid 类中特定单元格的信息。Represents information about a specific cell in a DataGrid.

DataGridClipboardCellContent

封装 DataGrid 单元格的值和位置,以供向剪贴板复制内容时使用。Encapsulates the value and location of a DataGrid cell for use when copying content to the Clipboard.

DataGridLength

表示 DataGrid 控件内各元素的长度。Represents the lengths of elements within the DataGrid control.

HierarchicalVirtualizationConstraints

指定控件的视区和缓存的大小。Specifies the sizes of a control's viewport and cache. 此结构由 IHierarchicalVirtualizationAndScrollInfo 接口使用。This structure is used by the IHierarchicalVirtualizationAndScrollInfo interface.

HierarchicalVirtualizationHeaderDesiredSizes

以像素为单位和以逻辑单元表示控件的标题所需大小。Represents the desired size of the control's header, in pixels and in logical units. 此结构由 IHierarchicalVirtualizationAndScrollInfo 接口使用。This structure is used by the IHierarchicalVirtualizationAndScrollInfo interface.

HierarchicalVirtualizationItemDesiredSizes

以与设备无关的单位(每个单位 1/96 英寸)和逻辑单位表示控件项的所需大小。Represents the desired size of the control's items, in device-independent units (1/96th inch per unit) and in logical units.

PageRange

指定页范围。Specifies a range of pages.

VirtualizationCacheLength

表示 CacheLength 附加属性的度量值。Represents the measurements for the CacheLength attached property.

枚举

CalendarMode

指定 Calendar 是否显示月份、年份或十年期。Specifies whether a Calendar displays a month, year, or decade.

CalendarSelectionMode

指定可在 Calendar 中选择单个日期还是多个日期。Specifies whether a single or multiple dates can be selected in a Calendar.

CharacterCasing

指定手动键入到 TextBox 控件中的字符的大小写。Specifies the case of characters typed manually into a TextBox control.

ClickMode

指定应何时引发 Click 事件。Specifies when the Click event should be raised.

DataGridClipboardCopyMode

定义一些常量,这些常量指定用户能否将数据从 DataGrid 控件复制到剪贴板以及是否包括列标题值。Defines constants that specify whether users can copy data from a DataGrid control to the Clipboard and whether column header values are included.

DataGridEditAction

定义一些常量,这些常量指定要取消还是提交编辑。Defines constants that specify whether an edit is being canceled or committed.

DataGridEditingUnit

定义一些常量,这些常量指定对单元格级别还是对行级别启用编辑。Defines constants that specify whether editing is enabled on a cell level or on a row level.

DataGridGridLinesVisibility

定义指定 DataGrid 中的网格线的可见性的常数。Defines constants that specify the visibility of the grid lines in a DataGrid.

DataGridHeadersVisibility

定义指定 DataGrid 中的行和列标题的可见性的常数。Defines constants that specify the visibility of row and column headers in a DataGrid.

DataGridLengthUnitType

定义一些常量,这些常量指定如何调整 DataGrid 中元素的大小。Defines constants that specify how elements in a DataGrid are sized.

DataGridRowDetailsVisibilityMode

定义一些常量,这些常量指定何时显示 DataGrid 行详细信息。Defines constants that specify when DataGrid row details are displayed.

DataGridSelectionMode

定义指定 DataGrid 控件支持单项选择还是多项选择的常数。Defines constants that specify whether single or multiple item selections are supported by a DataGrid control.

DataGridSelectionUnit

定义指定单元格、 行或两者,是否用于 DataGrid 空间中的选择的常数。Defines constants that specify whether cells, rows, or both, are used for selection in a DataGrid control.

DatePickerFormat

指定 DatePicker 的日期格式。Specifies date formats for a DatePicker.

Dock

指定 Dock 内子元素的 DockPanel 位置。Specifies the Dock position of a child element that is inside a DockPanel.

ExpandDirection

指定 Expander 控件打开的方向。Specifies the direction in which an Expander control opens.

FlowDocumentReaderViewingMode

FlowDocumentReader 控件指定查看模式。Names viewing modes for the FlowDocumentReader control.

GridResizeBehavior

指定由 GridSplitter 控件调整其大小的行或列。Specifies the rows or columns that are resized by a GridSplitter control.

GridResizeDirection

指定 GridSplitter 控件是在行之间还是在列之间重新分配空间。Specifies whether a GridSplitter control redistributes space between rows or between columns.

GridViewColumnHeaderRole

定义 GridViewColumnHeader 控件的状态或角色。Defines the state or role of a GridViewColumnHeader control.

InkCanvasClipboardFormat

指定 InkCanvas 将从剪贴板中接受的格式。Specifies the formats that an InkCanvas will accept from the Clipboard.

InkCanvasEditingMode

指定 InkCanvas 的编辑模式。Specifies the editing mode for the InkCanvas

InkCanvasSelectionHitResult

InkCanvas 上标识选择装饰器的各个部分。Identifies the various parts of a selection adorner on an InkCanvas.

KeyTipHorizontalPlacement

指定与位置目标相关的快捷键提示的水平位置值。Specifies the values for the horizontal placement of the KeyTip relative to its placement target.

KeyTipVerticalPlacement

指定与位置目标相关的快捷键提示的纵向位置值。Specifies the values for the vertical placement of the KeyTip relative to its placement target.

MediaState

指定可应用于 MediaElementLoadedBehavior 属性的 UnloadedBehavior 的语句。Specifies the states that can be applied to a MediaElement for the LoadedBehavior and UnloadedBehavior properties.

MenuItemRole

定义 MenuItem 可具有的不同角色。Defines the different roles that a MenuItem can have.

Orientation

定义控件或布局可具有的不同方向。Defines the different orientations that a control or layout can have.

OverflowMode

指定将 ToolBar 项放置在主工具栏面板和溢出面板中的方法。Specifies how ToolBar items are placed in the main toolbar panel and in the overflow panel.

PageRangeSelection

指定操作(通常是打印)是处理所有页,还是只处理有限范围。Specifies whether all the pages or only a limited range will be processed by an operation, usually printing.

PanningMode

指定 ScrollViewer 如何响应触摸操作。Specifies how ScrollViewer reacts to touch manipulation.

ScrollBarVisibility

指定可滚动内容的 ScrollBar 的可见性。Specifies the visibility of a ScrollBar for scrollable content.

ScrollUnit

指定类型为 ScrollUnit 附加属性的名称。Specifies the type of unit that is used by the ScrollUnit attached property.

SelectionMode

定义 ListBox 的选择行为。Defines the selection behavior for a ListBox.

SelectiveScrollingOrientation

指定 SelectiveScrollingGrid 面板可滚动的方向。Specifies the direction that SelectiveScrollingGrid panels can scroll.

SpellingReform

指定文本编辑控件的拼写检查器使用的拼写改革规则(即 TextBoxRichTextBox)。Specifies the spelling reform rules used by the spellchecker of the text editing control (i.e. TextBox or RichTextBox).

StickyNoteType

指定 StickyNoteControl 是否接受文本或墨迹。Specifies whether a StickyNoteControl accepts text or ink.

StretchDirection

描述如何对内容应用缩放,并限制对已命名像素类型的缩放。Describes how scaling applies to content and restricts scaling to named axis types.

UndoAction

撤消堆栈是如何引起的或如何受文本更改影响。How the undo stack caused or is affected by a text change.

ValidationErrorEventAction

描述是添加还是清除了 ValidationError 对象。Describes whether a ValidationError object has been added or cleared.

ValidationStep

指定 ValidationRule 何时运行。Specifies when a ValidationRule runs.

VirtualizationCacheLengthUnit

指定类型为 CacheLength 附加属性的名称。Specifies the type of unit that is used by the CacheLength attached property.

VirtualizationMode

指定 VirtualizingStackPanel 用来管理子项虚拟化的方法。Specifies the method the VirtualizingStackPanel uses to manage virtualizing its child items.

委托

ActivatingKeyTipEventHandler

显示该处理 ActivatingKeyTipKeyTipService 附加事件的方法。Represents the method that handles the ActivatingKeyTip attached event of a KeyTipService.

CleanUpVirtualizedItemEventHandler

表示用于处理 CleanUpVirtualizedItem 附件事件的方法。Represents the method that handles the CleanUpVirtualizedItem attached events.

ContextMenuEventHandler

表示将处理 ContextMenuOpeningContextMenuClosing 路由事件,以及等效的 ContentElement 事件的方法。Represents the method that will handle the ContextMenuOpening and ContextMenuClosing routed events, as well as equivalent ContentElement events.

DataGridSortingEventHandler

表示将用来处理 SortingDataGrid 事件的方法。Represents the method that will handle the Sorting event of a DataGrid.

GroupStyleSelector

用于选择作为父组功能及其级别的组样式的委托。Delegate used to select the group style as a function of the parent group and its level.

InitializingNewItemEventHandler

表示将用来处理 InitializingNewItemDataGrid 事件的方法。Represents the method that will handle the InitializingNewItem event of a DataGrid.

InkCanvasGestureEventHandler

表示将用来处理 GestureInkCanvas 事件的方法。Represents the method that will handle the Gesture event of a InkCanvas.

InkCanvasSelectionChangingEventHandler

表示将用来处理 SelectionChangingInkCanvas 事件的方法。Represents the method that will handle the SelectionChanging event of a InkCanvas.

InkCanvasSelectionEditingEventHandler

表示一种方法,可处理因 InkCanvas 上发生更改而引发的两个事件:SelectionMoving 事件或 SelectionResizing 事件。Represents the method that handles two events raised when changes occur on an InkCanvas: the SelectionMoving event, or the SelectionResizing event.

InkCanvasStrokeCollectedEventHandler

表示将要处理 InkCanvasStrokeCollected 事件的方法。Represents the method that will handle the StrokeCollected event of an InkCanvas.

InkCanvasStrokeErasingEventHandler

表示处理 InkCanvasStrokeErasing 事件的方法。Represents the method that handles the StrokeErasing event for an InkCanvas.

InkCanvasStrokesReplacedEventHandler

表示将用来处理 StrokesReplacedInkCanvas 事件的方法。Represents the method that will handle the StrokesReplaced event of a InkCanvas.

KeyTipAccessedEventHandler

显示该处理 KeyTipAccessedKeyTipService 附加事件的方法。Represents the method that handles the KeyTipAccessed attached event of a KeyTipService.

ScrollChangedEventHandler

表示将处理 ScrollChanged 路由事件的方法。Represents the method that will handle the ScrollChanged routed event.

SelectedCellsChangedEventHandler

表示将用来处理 SelectedCellsChangedDataGrid 事件的方法。Represents the method that will handle the SelectedCellsChanged event of a DataGrid.

SelectionChangedEventHandler

表示将处理 SelectionChanged 路由事件的方法。Represents the method that will handle the SelectionChanged routed event.

TextChangedEventHandler

表示将处理 TextChanged 路由事件的方法。Represents the method that will handle the TextChanged routed event.

ToolTipEventHandler

表示用于处理在工具提示打开和关闭时发生的路由事件的方法。Represents the method that will handle routed event that occur when a tooltip opens and closes.