Displays data in a customizable grid.
The following tables list the members exposed by the DataGrid type.
Name | Description | |
---|---|---|
Initializes a new instance of the DataGrid class. |
Name | Description | |
---|---|---|
Identifies the AllowColumnReorder dependency property. |
||
Identifies the AlternatingRowBackground dependency property. |
||
Identifies the AlternatingRowBorderBrush dependency property. |
||
Identifies the AlternatingRowBorderThickness dependency property. |
||
Identifies the AutoGenerateColumns dependency property. |
||
Identifies the CellBorderBrush dependency property. |
||
Identifies the CellBorderThickness dependency property. |
||
Identifies the CurrentCell dependency property. |
||
Identifies the HeaderBackground dependency property. |
||
Identifies the HeaderBorderBrush dependency property. |
||
Identifies the HeaderBorderThickness dependency property. |
||
Identifies the HeaderContentTemplate dependency property. |
||
Identifies the HeaderFontSize dependency property. |
||
Identifies the HeaderBackground dependency property. |
||
Identifies the HeaderMargin dependency property. |
||
Identifies the RowBackground dependency property. |
||
Identifies the RowBorderBrush dependency property. |
||
Identifies the RowBorderThickness dependency property. |
||
Identifies the RowHeadersVisible dependency property. |
Name | Description | |
---|---|---|
Gets or sets a value indicating whether columns in this header can be reordered interactively. This is a dependency property. |
||
Gets or sets the background brush of alternating grid rows. This is a dependency property. |
||
Gets or sets the border brush of alternating grid rows. This is a dependency property. |
||
Gets or sets the border thickness of alternating grid rows. This is a dependency property. |
||
Gets or sets a value indicating whether to automatically generate the necessary grid columns based on the properties of the items in the underlying Items collection. This is a dependency property. |
||
Gets or sets the border brush of the cells in the grid. This is a dependency property. |
||
Gets or sets the border thickness of the cells in the grid. This is a dependency property. |
||
Gets or sets a list with the columns displayed in the grid. |
||
Gets or sets the GridCell within this grid, which is currently holding the input focus. This is a dependency property. |
||
Gets or sets the brush used to fill the header background. This is a dependency property. |
||
Gets or sets border brush of the grid header. This is a dependency property. |
||
Gets or sets the border thickness of the grid header. This is a dependency property. |
||
Gets or sets the template to use for the individual column headers. This is a dependency property. |
||
Gets or sets the size of the texts displayed in the grid header. This is a dependency property. |
||
Gets or sets the brush used to draw the texts displayed in the grid header. This is a dependency property. |
||
Gets or sets the margin of the texts displayed in the grid header. This is a dependency property. |
||
Gets or sets the license key of the control. |
||
Gets or sets the background brush of grid rows. This is a dependency property. |
||
Gets or sets the border brush of grid rows. This is a dependency property. |
||
Gets or sets the border thickness of grid rows. This is a dependency property. |
||
Gets or sets a value indicating whether row headers are visible. This is a dependency property. |
Name | Description | |
---|---|---|
FrameworkElement.OnApplyTemplate override. |
Name | Description | |
---|---|---|
ItemsControl.ClearContainerForItemOverride override. |
||
ItemsControl.GetContainerForItemOverride override. |
||
ItemsControl.IsItemItsOwnContainerOverride override. |
||
Raises the ColumnCreating event. |
||
Selector.OnItemsSourceChanged override. |
||
ItemsControl.OnKeyDown override. |
||
Raises the RowClicked event. |
||
ItemsControl.OnTextInput override. |
||
ItemsControl.PrepareContainerForItemOverride override. |
Name | Description | |
---|---|---|
Raised when a column is automatically generated by the grid. |
||
Raised when a row in the grid is clicked with the mouse. |