ClassDataGridTemplateColumn
Represents a DataGridColumn that uses a DataTemplate to describe the content of each associated grid cell.
Definition
Namespace:Telerik.UI.Xaml.Controls.Grid
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class DataGridTemplateColumn : DataGridColumn
Inheritance: objectRadDependencyObjectDataGridColumnDataGridTemplateColumn
Inherited Members
Constructors
DataGridTemplateColumn()
Declaration
public DataGridTemplateColumn()
Fields
CellContentTemplateProperty
Identifies the CellContentTemplate dependency property.
Declaration
public static readonly DependencyProperty CellContentTemplateProperty
Field Value
DependencyProperty
CellContentTemplateSelectorProperty
Identifies the CellContentTemplateSelector dependency property.
Declaration
public static readonly DependencyProperty CellContentTemplateSelectorProperty
Field Value
DependencyProperty
GroupDescriptorProperty
Identifies the GroupDescriptor dependency property.
Declaration
public static readonly DependencyProperty GroupDescriptorProperty
Field Value
DependencyProperty
SortDescriptorProperty
Identifies the SortDescriptor dependency property.
Declaration
public static readonly DependencyProperty SortDescriptorProperty
Field Value
DependencyProperty
Properties
CellContentTemplate
Gets or sets the DataTemplate instance that defines the appearance of each cell associated with tis column.
Declaration
public DataTemplate CellContentTemplate { get; set; }
Property Value
DataTemplate
CellContentTemplateSelector
Gets or sets the DataTemplateSelector instance that may be used to retrieve dynamic data templates on a per cell basis.
Declaration
public DataTemplateSelector CellContentTemplateSelector { get; set; }
Property Value
DataTemplateSelector
GroupDescriptor
Gets or sets the GroupDescriptorBase that defines whether the column may be grouped by the user using drag-and-drop operation.
Declaration
public GroupDescriptorBase GroupDescriptor { get; set; }
Property Value
SortDescriptor
Gets or sets the SortDescriptorBase that defines how the column will be sorted by the user upon a Tap gesture over the column header.
Declaration
public SortDescriptorBase SortDescriptor { get; set; }
Property Value
Methods
CreateContainer(object)
Creates an instance of a FrameworkElement visualized when the column is not edited.
CreateFilterControl()
There is no default built-in control that supports filtering over a Template column.
Declaration
protected override DataGridFilterControlBase CreateFilterControl()
Returns
Overrides
GetContainerType(object)
Gets the type of the control visualized when the template column is not currently edited.
GetEditorType(object)
Gets the type of the editor for the DataGridTemplateColumn that is visualized when entering in edit mode.
GetValueForInstance(object)
Retrieves the column value for the provided object instance. This actually represents the content of a grid cell where a cell is defined by a row (data item) and a column.
PrepareCell(object, object, object)
Prepares the control visualized by the cell when it is not edited.