alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class DataGridCheckBoxSelectorCellRenderer

    A cell renderer that displays checkboxes for row selection in a DataGridCheckBoxSelectorColumn. Implements bidirectional synchronization with the DataGrid's selection controller.

    Inheritance
    System.Object
    DataGridCellRenderer<Microsoft.Maui.Controls.StackLayout, Microsoft.Maui.Controls.View>
    DataGridCheckBoxSelectorCellRenderer
    Implements
    IDataGridCellRenderer
    System.IDisposable
    Inherited Members
    DataGridCellRenderer<StackLayout, View>.BeginEdit(RowColumnIndex, DataGridCell, DataGridColumn, Object)
    DataGridCellRenderer<StackLayout, View>.CanUpdateBinding(DataColumnBase)
    DataGridCellRenderer<StackLayout, View>.CanValidate()
    DataGridCellRenderer<StackLayout, View>.ClearRecycleBin()
    DataGridCellRenderer<StackLayout, View>.CommitCellValue(Boolean)
    DataGridCellRenderer<StackLayout, View>.CurrentCellElement
    DataGridCellRenderer<StackLayout, View>.CurrentCellIndex
    DataGridCellRenderer<StackLayout, View>.CurrentCellRendererElement
    DataGridCellRenderer<StackLayout, View>.DataGrid
    DataGridCellRenderer<StackLayout, View>.Dispose()
    DataGridCellRenderer<StackLayout, View>.Dispose(Boolean)
    DataGridCellRenderer<StackLayout, View>.EndEdit(DataColumnBase, Object, Boolean)
    DataGridCellRenderer<StackLayout, View>.GetControlValue()
    DataGridCellRenderer<StackLayout, View>.HasCurrentCellState
    DataGridCellRenderer<StackLayout, View>.IsEditable
    DataGridCellRenderer<StackLayout, View>.IsFocusable
    DataGridCellRenderer<StackLayout, View>.IsInEditing
    DataGridCellRenderer<StackLayout, View>.OnCreateDisplayUIView()
    DataGridCellRenderer<StackLayout, View>.OnCreateEditUIView()
    DataGridCellRenderer<StackLayout, View>.OnEnteredEditMode(DataColumnBase, View)
    DataGridCellRenderer<StackLayout, View>.OnInitializeDisplayView(DataColumnBase, StackLayout)
    DataGridCellRenderer<StackLayout, View>.OnInitializeEditView(DataColumnBase, View)
    DataGridCellRenderer<StackLayout, View>.OnPrepareViews(DataColumnBase)
    DataGridCellRenderer<StackLayout, View>.OnSetCellStyle(DataColumnBase)
    DataGridCellRenderer<StackLayout, View>.OnUnloadViews(DataColumnBase)
    DataGridCellRenderer<StackLayout, View>.OnUpdateCellValue(DataColumnBase)
    DataGridCellRenderer<StackLayout, View>.PrepareViews(DataColumnBase)
    DataGridCellRenderer<StackLayout, View>.RefreshDisplayValue(DataColumnBase)
    DataGridCellRenderer<StackLayout, View>.ResetCurrentCellState()
    DataGridCellRenderer<StackLayout, View>.ResumeBinding(DataColumnBase, StackLayout)
    DataGridCellRenderer<StackLayout, View>.SetCellBackground(DataColumnBase)
    DataGridCellRenderer<StackLayout, View>.SetCellStyle(DataColumnBase)
    DataGridCellRenderer<StackLayout, View>.SetControlValue(Object)
    DataGridCellRenderer<StackLayout, View>.SetCurrentCellState(RowColumnIndex, DataGridCell, Boolean)
    DataGridCellRenderer<StackLayout, View>.SetFocus(Boolean)
    DataGridCellRenderer<StackLayout, View>.SetFocus(View, Boolean)
    DataGridCellRenderer<StackLayout, View>.SupportsRenderOptimization
    DataGridCellRenderer<StackLayout, View>.SuspendBinding(DataColumnBase, StackLayout)
    DataGridCellRenderer<StackLayout, View>.UnloadViews(DataColumnBase)
    DataGridCellRenderer<StackLayout, View>.UnwireEditUIElement(View)
    DataGridCellRenderer<StackLayout, View>.UpdateCellValue(DataColumnBase)
    DataGridCellRenderer<StackLayout, View>.UpdateColumnInfo(DataColumnBase)
    DataGridCellRenderer<StackLayout, View>.UpdateCurrentCellState(View, Boolean)
    DataGridCellRenderer<StackLayout, View>.UpdateEditViewCellStyle(DataColumnBase, View)
    DataGridCellRenderer<StackLayout, View>.WireEditUIElement(View)
    Namespace: Syncfusion.Maui.DataGrid
    Assembly: Syncfusion.Maui.DataGrid.dll
    Syntax
    public class DataGridCheckBoxSelectorCellRenderer : DataGridCellRenderer<StackLayout, View>, IDataGridCellRenderer, IDisposable

    Constructors

    DataGridCheckBoxSelectorCellRenderer()

    Initializes a new instance of the DataGridCheckBoxSelectorCellRenderer class.

    Declaration
    public DataGridCheckBoxSelectorCellRenderer()

    Methods

    OnCreateDisplayUIView()

    Creates the display view (checkbox) for a data row or header.

    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()

    OnCreateEditUIView()

    Creates the edit view (same as display view since checkbox is not editable).

    Declaration
    protected override View OnCreateEditUIView()
    Returns
    Type
    Microsoft.Maui.Controls.View
    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Microsoft.Maui.Controls.StackLayout, Microsoft.Maui.Controls.View>.OnCreateEditUIView()

    OnInitializeDisplayView(DataColumnBase, StackLayout)

    Initializes the display view (called when rendering a data row cell). This renderer only handles data rows. Headers are handled by DataGridCheckBoxSelectorHeaderCellRenderer. Selection synchronization is now handled via RaiseSelectionChangedEvent interception in the DataGrid class.

    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)

    Unloads the views and unsubscribes from events to prevent memory leaks and stale event handlers.

    Declaration
    protected override void OnUnloadViews(DataColumnBase dataColumn)
    Parameters
    Type Name Description
    Syncfusion.Maui.DataGrid.DataColumnBase dataColumn
    Overrides
    Syncfusion.Maui.DataGrid.DataGridCellRenderer<Microsoft.Maui.Controls.StackLayout, Microsoft.Maui.Controls.View>.OnUnloadViews(Syncfusion.Maui.DataGrid.DataColumnBase)

    OnUpdateCellValue(DataColumnBase)

    Updates the cell value when the underlying data changes. This is called by the DataGrid when refreshing cells.

    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

    IDataGridCellRenderer
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved