alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    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
    object
    DataGridCellRenderer<StackLayout, View>
    DataGridCheckBoxSelectorCellRenderer
    Implements
    IDataGridCellRenderer
    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(bool)
    DataGridCellRenderer<StackLayout, View>.CurrentCellElement
    DataGridCellRenderer<StackLayout, View>.CurrentCellIndex
    DataGridCellRenderer<StackLayout, View>.CurrentCellRendererElement
    DataGridCellRenderer<StackLayout, View>.DataGrid
    DataGridCellRenderer<StackLayout, View>.Dispose()
    DataGridCellRenderer<StackLayout, View>.Dispose(bool)
    DataGridCellRenderer<StackLayout, View>.EndEdit(DataColumnBase, object, bool)
    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, bool)
    DataGridCellRenderer<StackLayout, View>.SetFocus(bool)
    DataGridCellRenderer<StackLayout, View>.SetFocus(View, bool)
    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, bool)
    DataGridCellRenderer<StackLayout, View>.UpdateEditViewCellStyle(DataColumnBase, View)
    DataGridCellRenderer<StackLayout, View>.WireEditUIElement(View)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    StackLayout
    Overrides
    DataGridCellRenderer<StackLayout, View>.OnCreateDisplayUIView()

    OnCreateEditUIView()

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

    Declaration
    protected override View OnCreateEditUIView()
    Returns
    Type
    View
    Overrides
    DataGridCellRenderer<StackLayout, 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
    [UnconditionalSuppressMessage("Trimming", "IL2026:Members annotated with 'RequiresUnreferencedCodeAttribute' require dynamic access otherwise can break functionality when trimming application code", Justification = "The OnInitializeDisplayView method is not trim compatible")]
    protected override void OnInitializeDisplayView(DataColumnBase dataColumn, StackLayout? view)
    Parameters
    Type Name Description
    DataColumnBase dataColumn
    StackLayout view
    Overrides
    DataGridCellRenderer<StackLayout, View>.OnInitializeDisplayView(DataColumnBase, 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
    DataColumnBase dataColumn
    Overrides
    DataGridCellRenderer<StackLayout, View>.OnUnloadViews(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
    DataColumnBase dataColumn
    Overrides
    DataGridCellRenderer<StackLayout, View>.OnUpdateCellValue(DataColumnBase)

    Implements

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