Class
DataGridTypedColumn

Defines a DataGridColumn which content is known (strongly typed) and represented by internally built UI. Typed columns are highly optimized for better performance.

Definition

Namespace:Telerik.Maui.Controls.DataGrid

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public abstract class DataGridTypedColumn : DataGridColumn

Inheritance: objectDataGridColumnDataGridTypedColumn

Derived Classes: DataGridTextColumn

Inherited Members DataGridColumn.CellDecorationStylePropertyDataGridColumn.CellDecorationStyleSelectorPropertyDataGridColumn.WidthPropertyDataGridColumn.MinimumWidthPropertyDataGridColumn.SizeModePropertyDataGridColumn.HeaderTextPropertyDataGridColumn.NamePropertyDataGridColumn.IsVisiblePropertyDataGridColumn.HeaderStylePropertyDataGridColumn.CanUserEditPropertyDataGridColumn.CanUserGroupPropertyDataGridColumn.CanUserFilterPropertyDataGridColumn.CanUserSortPropertyDataGridColumn.CanUserReorderPropertyDataGridColumn.HeaderContentTemplatePropertyDataGridColumn.CellContentTemplatePropertyDataGridColumn.CellContentTemplateSelectorPropertyDataGridColumn.FilterControlTemplatePropertyDataGridColumn.ShowDistinctValuesFilterPropertyDataGridColumn.CellEditTemplatePropertyDataGridColumn.FooterTextPropertyDataGridColumn.FooterStylePropertyDataGridColumn.FooterContentTemplatePropertyDataGridColumn.IsResizablePropertyDataGridColumn.IsFrozenPropertyDataGridColumn.IsSearchablePropertyDataGridColumn.ActualWidthPropertyDataGridColumn.SortDirectionPropertyDataGridColumn.IsFilteredPropertyDataGridColumn.OnPropertyChanged(string)DataGridColumn.CellDecorationStyleDataGridColumn.CellDecorationStyleSelectorDataGridColumn.WidthDataGridColumn.MinimumWidthDataGridColumn.SizeModeDataGridColumn.NameDataGridColumn.HeaderTextDataGridColumn.IsVisibleDataGridColumn.HeaderStyleDataGridColumn.CanUserEditDataGridColumn.CanUserFilterDataGridColumn.AggregateDescriptorsDataGridColumn.AggregateValuesDataGridColumn.CanUserGroupDataGridColumn.CanUserSortDataGridColumn.CanUserReorderDataGridColumn.HeaderContentTemplateDataGridColumn.ActualWidthDataGridColumn.SortDirectionDataGridColumn.IsFilteredDataGridColumn.IsAutoGeneratedDataGridColumn.CellContentTemplateDataGridColumn.CellContentTemplateSelectorDataGridColumn.CellEditTemplateDataGridColumn.FilterControlTemplateDataGridColumn.ShowDistinctValuesFilterDataGridColumn.FooterTextDataGridColumn.FooterStyleDataGridColumn.FooterContentTemplateDataGridColumn.IsResizableDataGridColumn.IsFrozenDataGridColumn.IsSearchableDataGridColumn.DataGrid

Constructors

DataGridTypedColumn()

Initializes a new instance of the DataGridTypedColumn class.

Declaration

cs-api-definition
protected DataGridTypedColumn()

Fields

CellContentStyleProperty

Identifies the CellContentStyle dependency property.

Declaration

cs-api-definition
public static readonly BindableProperty CellContentStyleProperty

Field Value

BindableProperty

CellContentStyleSelectorProperty

Identifies the CellContentStyleSelector dependency property.

Declaration

cs-api-definition
public static readonly BindableProperty CellContentStyleSelectorProperty

Field Value

BindableProperty

CellEditorStyleProperty

Identifies the CellEditorStyle dependency property.

Declaration

cs-api-definition
public static readonly BindableProperty CellEditorStyleProperty

Field Value

BindableProperty

PropertyNameProperty

Identifies the PropertyName dependency property.

Declaration

cs-api-definition
public static readonly BindableProperty PropertyNameProperty

Field Value

BindableProperty

Properties

CellContentStyle

Gets or sets the Style object that defines the appearance of each cell associated with this column. The Style should target DataGridTextCellAppearance.

Declaration

cs-api-definition
public Style CellContentStyle { get; set; }

Property Value

Style

CellContentStyleSelector

Gets or sets the IStyleSelector instance that allows for dynamic appearance on a per cell basis.

Declaration

cs-api-definition
public IStyleSelector CellContentStyleSelector { get; set; }

Property Value

IStyleSelector

CellEditorStyle

Gets or sets the Style that will be applied to the cell editor.

Declaration

cs-api-definition
public Style CellEditorStyle { get; set; }

Property Value

Style

DataMemberBinding

Gets or sets the binding which points to the data member to display in the cells of the DataGridTypedColumn.

Declaration

cs-api-definition
public BindingBase DataMemberBinding { get; set; }

Property Value

BindingBase

PropertyName

Gets or sets the name of the property of the object type that represents each row within the grid.

Declaration

cs-api-definition
public string PropertyName { get; set; }

Property Value

string

Methods

CreateGroupDescriptor()

Creates the GroupDescriptorBase instance that is used to group by this column through the user interface.

Declaration

cs-api-definition
protected virtual GroupDescriptorBase CreateGroupDescriptor()

Returns

GroupDescriptorBase

CreateSortDescriptor()

Creates the SortDescriptorBase instance that is used to sort by this column through the user interface.

Declaration

cs-api-definition
protected virtual SortDescriptorBase CreateSortDescriptor()

Returns

SortDescriptorBase

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.

Declaration

cs-api-definition
public override object GetValueForInstance(object instance)

Parameters

instance

object

Returns

object

Overrides DataGridColumn.GetValueForInstance(object)