Skip to main content

DataGridTemplateColumn Properties

Properties

ActualWidthActual visible width after Width, MinWidth, and MaxWidth setting at the Column level and DataGrid level have been taken into account
(Inherited from DataGridColumn)
CanUserReorderGets or sets a value that indicates whether the user can change the column display position by dragging the column header.
(Inherited from DataGridColumn)
CanUserResizeGets or sets a value that indicates whether the user can adjust the column width using the mouse.
(Inherited from DataGridColumn)
CanUserSortGets or sets a value that indicates whether the user can sort the column by clicking the column header.
(Inherited from DataGridColumn)
CellEditingTemplateGets or sets the IDataTemplate which is used for the editing mode of the current DataGridCell
CellStyleClasses
(Inherited from DataGridColumn)
CellTemplate 
CellThemeGets or sets the DataGridColumnHeader cell theme.
(Inherited from DataGridColumn)
ClipboardContentBindingThe binding that will be used to get or set cell content for the clipboard.
(Inherited from DataGridColumn)
CustomSortComparerHolds a Comparer to use for sorting, if not using the default.
(Inherited from DataGridColumn)
DisplayIndexGets or sets the display position of the column relative to the other columns in the DataGrid.
(Inherited from DataGridColumn)
HeaderGets or sets the DataGridColumnHeader content
(Inherited from DataGridColumn)
HeaderTemplateGets or sets an IDataTemplate for the Header
(Inherited from DataGridColumn)
InheritanceParentGets or sets the parent object that inherited AvaloniaProperty values are inherited from.
(Inherited from AvaloniaObject)
IsAutoGenerated
(Inherited from DataGridColumn)
IsFrozen
(Inherited from DataGridColumn)
IsReadOnly
(Overrides DataGridColumn.IsReadOnly)
IsVisibleDetermines whether or not this column is visible.
(Inherited from DataGridColumn)
Item(AvaloniaProperty)Gets or sets the value of a AvaloniaProperty.
(Inherited from AvaloniaObject)
Item(IndexerDescriptor)Gets or sets a binding for a AvaloniaProperty.
(Inherited from AvaloniaObject)
MaxWidth
(Inherited from DataGridColumn)
MinWidth
(Inherited from DataGridColumn)
OwningGridGets the DataGrid control that contains this column.
(Inherited from DataGridColumn)
SortMemberPathHolds the name of the member to use for sorting, if not using the default.
(Inherited from DataGridColumn)
TagGets or sets an object associated with this column.
(Inherited from DataGridColumn)
Width
(Inherited from DataGridColumn)

See Also

Reference

DataGridTemplateColumn Class
Avalonia.Controls Namespace