Class DataGridTemplateColumn
A column which is used to show any type of template.
Implements
System.IDisposable
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridTemplateColumn : DataGridColumn, IDisposable
Constructors
DataGridTemplateColumn()
Initializes a new instance of the DataGridTemplateColumn class.
Declaration
public DataGridTemplateColumn()
Properties
CellTemplate
Gets or sets the template that is used to display the contents of a cell.
Declaration
public DataTemplate CellTemplate { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.DataTemplate |
Remarks
You can directly assign the Microsoft.Maui.Controls.DataTemplateSelector to choose the different Microsoft.Maui.Controls.DataTemplate based on cells.
Implements
System.IDisposable