Class
DataGridTextColumn

Represents a DataGridTypedColumn that converts the content of each associated cell to a string object.

Definition

Namespace:Telerik.Maui.Controls.DataGrid

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class DataGridTextColumn : DataGridTypedColumn

Inheritance: objectDataGridColumnDataGridTypedColumnDataGridTextColumn

Derived Classes: DataGridBooleanColumnDataGridComboBoxColumnDataGridDateColumnDataGridNumericalColumnDataGridTimeColumn

Inherited Members DataGridTypedColumn.PropertyNamePropertyDataGridTypedColumn.CellContentStylePropertyDataGridTypedColumn.CellContentStyleSelectorPropertyDataGridTypedColumn.CellEditorStylePropertyDataGridTypedColumn.GetValueForInstance(object)DataGridTypedColumn.CreateGroupDescriptor()DataGridTypedColumn.CreateSortDescriptor()DataGridTypedColumn.PropertyNameDataGridTypedColumn.CellContentStyleDataGridTypedColumn.CellContentStyleSelectorDataGridTypedColumn.CellEditorStyleDataGridTypedColumn.DataMemberBindingDataGridColumn.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

DataGridTextColumn()

Initializes a new instance of the DataGridTextColumn class.

Declaration

cs-api-definition
public DataGridTextColumn()

Fields

CellContentFormatProperty

Identifies the CellContentFormat dependency property.

Declaration

cs-api-definition
public static readonly BindableProperty CellContentFormatProperty

Field Value

BindableProperty

CellRendererProperty

Identifies the CellRenderer property.

Declaration

cs-api-definition
public static readonly BindableProperty CellRendererProperty

Field Value

BindableProperty

Properties

CellContentFormat

Gets or sets the custom format for each cell value. The String.Format routine is used and the format passed should be in the form required by this method.

Declaration

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

Property Value

string

CellRenderer

Gets or sets the renderer that allows custom rendering of cells when the DataGrid is rendered with SkiaSharp. To use this in iOS and MacCatalyst, the RenderMode needs to be set to SkiaSharp.

Declaration

cs-api-definition
public DataGridCellRenderer CellRenderer { get; set; }

Property Value

DataGridCellRenderer