Class DataGridCheckBoxCellRenderer
A class for cell renderer that displays Microsoft.Maui.Controls.CheckBox in a DataGridCell.
Inheritance
System.Object
DataGridCheckBoxCellRenderer
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridCheckBoxCellRenderer : DataGridCellRenderer<StackLayout, View>, IDataGridCellRenderer, IDisposable
Constructors
DataGridCheckBoxCellRenderer()
ToDo
Declaration
public DataGridCheckBoxCellRenderer()
Methods
OnCreateDisplayUIView()
Creates the view for the display UI.
Declaration
protected override StackLayout OnCreateDisplayUIView()
Returns
Type |
---|
Microsoft.Maui.Controls.StackLayout |
Overrides
Syncfusion.Maui.DataGrid.DataGridCellRenderer<Microsoft.Maui.Controls.StackLayout, Microsoft.Maui.Controls.View>.OnCreateDisplayUIView()
OnInitializeDisplayView(DataColumnBase, StackLayout)
Initializes settings of the display view.
Declaration
protected override void OnInitializeDisplayView(DataColumnBase dataColumn, StackLayout view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Maui.DataGrid.DataColumnBase | dataColumn | |
Microsoft.Maui.Controls.StackLayout | view |
Overrides
Syncfusion.Maui.DataGrid.DataGridCellRenderer<Microsoft.Maui.Controls.StackLayout, Microsoft.Maui.Controls.View>.OnInitializeDisplayView(Syncfusion.Maui.DataGrid.DataColumnBase, Microsoft.Maui.Controls.StackLayout)
OnUnloadViews(DataColumnBase)
Called from UnloadViews(DataColumnBase) after a cell is scrolled out of view. DataGridCellRenderer<T1, T2> overrides this method and either removes the cell renderer visuals from the parent canvas or hide them and reuse it later in same canvas depending on whether Syncfusion.Maui.DataGrid.DataGridCellRenderer`2.AllowRecycle was set.
Declaration
protected override void OnUnloadViews(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Maui.DataGrid.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
Overrides
Syncfusion.Maui.DataGrid.DataGridCellRenderer<Microsoft.Maui.Controls.StackLayout, Microsoft.Maui.Controls.View>.OnUnloadViews(Syncfusion.Maui.DataGrid.DataColumnBase)
OnUpdateCellValue(DataColumnBase)
Called when the cell value is updated.
Declaration
protected override void OnUpdateCellValue(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Maui.DataGrid.DataColumnBase | dataColumn |
Overrides
Syncfusion.Maui.DataGrid.DataGridCellRenderer<Microsoft.Maui.Controls.StackLayout, Microsoft.Maui.Controls.View>.OnUpdateCellValue(Syncfusion.Maui.DataGrid.DataColumnBase)
Implements
System.IDisposable