DataGridBoundColumn Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a DataGrid column that can bind to a property in the grid's data source.
[Windows.UI.Xaml.StyleTypedProperty(Property="ElementStyle", StyleTargetType=typeof(Windows.UI.Xaml.FrameworkElement))]
[Windows.UI.Xaml.StyleTypedProperty(Property="EditingElementStyle", StyleTargetType=typeof(Windows.UI.Xaml.FrameworkElement))]
public abstract class DataGridBoundColumn : Microsoft.Toolkit.Uwp.UI.Controls.DataGridColumn
[<Windows.UI.Xaml.StyleTypedProperty(Property="ElementStyle", StyleTargetType=typeof(Windows.UI.Xaml.FrameworkElement))>]
[<Windows.UI.Xaml.StyleTypedProperty(Property="EditingElementStyle", StyleTargetType=typeof(Windows.UI.Xaml.FrameworkElement))>]
type DataGridBoundColumn = class
inherit DataGridColumn
Public MustInherit Class DataGridBoundColumn
Inherits DataGridColumn
- Inheritance
- Derived
- Attributes
-
Windows.UI.Xaml.StyleTypedPropertyAttribute
Constructors
DataGridBoundColumn() |
Properties
ActualWidth |
Gets the actual visible width after Width, MinWidth, and MaxWidth setting at the Column level and DataGrid level have been taken into account. (Inherited from DataGridColumn) |
Binding |
Gets or sets the binding that associates the column with a property in the data source. |
CanUserReorder |
Gets or sets a value indicating whether the user can change the column display position by dragging the column header. (Inherited from DataGridColumn) |
CanUserResize |
Gets or sets a value indicating whether the user can adjust the column width using the mouse. (Inherited from DataGridColumn) |
CanUserSort |
Gets or sets a value indicating whether the user can sort the column by clicking the column header. (Inherited from DataGridColumn) |
CellStyle |
Gets or sets the style that is used when rendering cells in the column. (Inherited from DataGridColumn) |
ClipboardContentBinding |
Gets or sets the binding that will be used to get or set cell content for the clipboard. If the base ClipboardContentBinding is not explicitly set, this will return the value of Binding. |
DisplayIndex |
Gets or sets the display position of the column relative to the other columns in the DataGrid. (Inherited from DataGridColumn) |
DragIndicatorStyle |
Gets or sets the style for the drag indicator. (Inherited from DataGridColumn) |
EditingElementStyle |
Gets or sets the style that is used when rendering the element that the column displays for a cell in editing mode. |
ElementStyle |
Gets or sets the style that is used when rendering the element that the column displays for a cell that is not in editing mode. |
Header |
Gets or sets the header object. (Inherited from DataGridColumn) |
HeaderStyle |
Gets or sets the style for the header. (Inherited from DataGridColumn) |
IsAutoGenerated |
Gets a value indicating whether this column is autoGenerated. (Inherited from DataGridColumn) |
IsFrozen |
Gets a value indicating whether this column is frozen. (Inherited from DataGridColumn) |
IsReadOnly |
Gets or sets a value indicating whether this column is read-only. (Inherited from DataGridColumn) |
MaxWidth |
Gets or sets the column's maximum width. (Inherited from DataGridColumn) |
MinWidth |
Gets or sets the column's minimum width. (Inherited from DataGridColumn) |
SortDirection |
Gets or sets the column's sort direction. Null indicates no sorting. (Inherited from DataGridColumn) |
Tag |
Gets or sets an object associated with this column. (Inherited from DataGridColumn) |
Visibility |
Gets or sets the column's visibility. (Inherited from DataGridColumn) |
Width |
Gets or sets the column's width. (Inherited from DataGridColumn) |
Methods
CancelCellEdit(FrameworkElement, Object) |
When overridden in a derived class, causes the column cell being edited to revert to the unedited value. (Inherited from DataGridColumn) |
GenerateEditingElement(DataGridCell, Object) |
When overridden in a derived class, gets an editing element that is bound to the column's Binding property value. (Inherited from DataGridColumn) |
GenerateElement(DataGridCell, Object) |
When overridden in a derived class, gets a read-only element that is bound to the column's Binding property value. (Inherited from DataGridColumn) |
GetCellContent(DataGridRow) |
Returns the column's content for the provided row. (Inherited from DataGridColumn) |
GetCellContent(Object) |
Returns the column's content for the provided row dataItem. (Inherited from DataGridColumn) |
NotifyPropertyChanged(String) |
Called by a specific column type when one of its properties changed, and its current cells need to be updated. (Inherited from DataGridColumn) |
PrepareCellForEdit(FrameworkElement, RoutedEventArgs) |
When overridden in a derived class, called when a cell in the column enters editing mode. (Inherited from DataGridColumn) |
RefreshCellContent(FrameworkElement, Brush, String) |
Called by the DataGrid control when a column asked for its elements to be refreshed, typically because one of its properties changed. (Inherited from DataGridColumn) |
RefreshForeground(FrameworkElement, Brush) |
Called when the computed foreground of a row changed. (Inherited from DataGridColumn) |