Click or drag to resize
System.Windows.Controls Namespace
The System.Windows.Controls namespace 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.
Classes
  ClassDescription
Public classCode exampleDataGrid
Represents a control that displays data in a customizable grid.
Public classDataGridBoundColumn
Serves as the base class for columns that can bind to a property in the data source of a System.Windows.Controls.DataGrid.
Public classDataGridCheckBoxColumn
Represents a System.Windows.Controls.DataGrid column that hosts System.Windows.Controls.CheckBox controls in its cells.
Public classDataGridColumn
Represents a System.Windows.Controls.DataGrid column.
Public classDataGridHyperlinkColumn
Represents a System.Windows.Controls.DataGrid column that hosts System.Uri elements in its cells.
Public classDataGridTemplateColumn
Represents a System.Windows.Controls.DataGrid column that hosts template-specified content in its cells.
Public classDataGridTextColumn
Represents a System.Windows.Controls.DataGrid column that hosts textual content in its cells.
Structures
  StructureDescription
Public structureDataGridLength
Represents the lengths of elements within the System.Windows.Controls.DataGrid control.
Enumerations
  EnumerationDescription
Public enumerationDataGridLengthUnitType
Defines constants that specify how elements in a System.Windows.Controls.DataGrid are sized. Note: SizeToCells and SizeToHeader are not available yet.
Public enumerationDataGridSelectionMode
Defines constants that specify whether single or multiple item selections are supported by a System.Windows.Controls.DataGrid control.