Class DataGridDateCellRenderer
A class for cell renderer that displays System.DateTime in a DataGridCell.
Inheritance
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridDateCellRenderer : DataGridCellRenderer<SfDataGridLabel, DatePicker>, IDataGridCellRenderer, IDisposable
Constructors
DataGridDateCellRenderer()
ToDo
Declaration
public DataGridDateCellRenderer()
Methods
GetControlValue()
Returns the current cell value, only if the renderer's
Declaration
public override object GetControlValue()
Returns
Type | Description |
---|---|
System.Object | The current cell value. |
Overrides
OnCreateDisplayUIView()
ToDo
Declaration
protected override SfDataGridLabel OnCreateDisplayUIView()
Returns
Type |
---|
SfDataGridLabel |
Overrides
OnCreateEditUIView()
ToDo
Declaration
protected override DatePicker OnCreateEditUIView()
Returns
Type |
---|
Microsoft.Maui.Controls.DatePicker |
Overrides
OnInitializeEditView(DataColumnBase, DatePicker)
ToDo
Declaration
public override void OnInitializeEditView(DataColumnBase dataColumn, DatePicker view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Maui.DataGrid.DataColumnBase | dataColumn | |
Microsoft.Maui.Controls.DatePicker | view |
Overrides
OnUpdateCellValue(DataColumnBase)
ToDo
Declaration
protected override void OnUpdateCellValue(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Maui.DataGrid.DataColumnBase | dataColumn | The data column. |
Overrides
ResumeBinding(DataColumnBase, SfDataGridLabel)
Resume the binding of a SfLabel view Syncfusion.Maui.DataGrid.DataColumn .
Declaration
protected override void ResumeBinding(DataColumnBase dataColumn, SfDataGridLabel view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Maui.DataGrid.DataColumnBase | dataColumn | The data column object containing the values to be updated in the view. |
SfDataGridLabel | view | The child view to be hosted inside the column element. |
Overrides
SetControlValue(Object)
Sets the current cell value, only if the renderer's HasCurrentCellState is true.
Declaration
public override void SetControlValue(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value to be set to the current cell. |
Overrides
SuspendBinding(DataColumnBase, SfDataGridLabel)
Suspend the binding of a SfLabel view Syncfusion.Maui.DataGrid.DataColumn .
Declaration
protected override void SuspendBinding(DataColumnBase dataColumn, SfDataGridLabel view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Maui.DataGrid.DataColumnBase | dataColumn | The data column object containing the values to be updated in the view. |
SfDataGridLabel | view | The child view to be hosted inside the column element. |
Overrides
UnwireEditUIElement(DatePicker)
Unwires the edit element to the view.
Declaration
protected override void UnwireEditUIElement(DatePicker editElement)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Maui.Controls.DatePicker | editElement |
Overrides
UpdateEditViewCellStyle(DataColumnBase, DatePicker)
Updates the style of edit view.
Declaration
protected override void UpdateEditViewCellStyle(DataColumnBase dataColumn, DatePicker editView)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.Maui.DataGrid.DataColumnBase | dataColumn | The data column. |
Microsoft.Maui.Controls.DatePicker | editView | The edit view to be hosted inside the column element. |