New to Telerik UI for .NET MAUIStart a free 30-day trial

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:

C#
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

Initializes a new instance of the DataGridTextColumn class.

C#
public DataGridTextColumn()

Fields

Identifies the CellContentFormat dependency property.

C#
public static readonly BindableProperty CellContentFormatProperty

CellRendererProperty

BindableProperty

Identifies the CellRenderer property.

C#
public static readonly BindableProperty CellRendererProperty

Properties

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.

C#
public string CellContentFormat { get; set; }

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.

C#
public DataGridCellRenderer CellRenderer { get; set; }