menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DataGridCellSelectionController - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DataGridCellSelectionController

    Represents a class that implements DataGridSelectionController that contains methods for handling cell selection operations in a SfDataGrid control.

    Inheritance
    System.Object
    DataGridSelectionController
    DataGridCellSelectionController
    Implements
    System.IDisposable
    Inherited Members
    DataGridSelectionController.ClearSelection()
    DataGridSelectionController.DataGrid
    DataGridSelectionController.Dispose()
    DataGridSelectionController.RaiseSelectionChanged(List<Object>, List<Object>)
    DataGridSelectionController.RaiseSelectionChanging(List<Object>, List<Object>)
    DataGridSelectionController.ResumeUpdates()
    DataGridSelectionController.SelectedRows
    DataGridSelectionController.SuspendUpdates()
    Namespace: Syncfusion.Maui.DataGrid
    Assembly: Syncfusion.Maui.DataGrid.dll
    Syntax
    public class DataGridCellSelectionController : DataGridSelectionController, IDisposable

    Constructors

    DataGridCellSelectionController(SfDataGrid)

    Initializes a new instance of the DataGridCellSelectionController class.

    Declaration
    public DataGridCellSelectionController(SfDataGrid dataGrid)
    Parameters
    Type Name Description
    SfDataGrid dataGrid

    Methods

    ApplySelection(RowColumnIndex, Boolean)

    Applies selection to the cell/row at the specified row and column index based on the DataGridSelectionUnit.

    Declaration
    protected override void ApplySelection(RowColumnIndex rowColumnIndex, bool isfromNavigationKeys = false)
    Parameters
    Type Name Description
    RowColumnIndex rowColumnIndex
    System.Boolean isfromNavigationKeys
    Overrides
    DataGridSelectionController.ApplySelection(RowColumnIndex, Boolean)

    Dispose(Boolean)

    Releases the unmanaged resources used by the component and optionally releases the managed resources.

    Declaration
    protected override void Dispose(bool isDisposing)
    Parameters
    Type Name Description
    System.Boolean isDisposing
    Overrides
    DataGridSelectionController.Dispose(Boolean)

    HandleCollectionChanged(NotifyCollectionChangedEventArgs, CollectionChangedReason)

    Processes selection by handling the possible collection changes in SfDataGrid.

    Declaration
    protected virtual void HandleCollectionChanged(NotifyCollectionChangedEventArgs e, CollectionChangedReason reason)
    Parameters
    Type Name Description
    System.Collections.Specialized.NotifyCollectionChangedEventArgs e
    Syncfusion.Maui.DataGrid.CollectionChangedReason reason

    HandleGridOperation(GridOperationHandlerArgs)

    Handles and processes selection based on the Syncfusion.Maui.DataGrid.GridOperation performed in SfDataGrid.

    Declaration
    protected virtual void HandleGridOperation(GridOperationHandlerArgs args)
    Parameters
    Type Name Description
    GridOperationHandlerArgs args

    HandlePointerOperation(RowColumnIndex)

    Processes selection based on the performed.

    Declaration
    protected virtual void HandlePointerOperation(RowColumnIndex rowColumnIndex)
    Parameters
    Type Name Description
    RowColumnIndex rowColumnIndex

    HandleSelectionPropertyChanges(DataGridSelectionPropertyChangedEventArgs)

    Handles and processes selection based on which selection related property has changed.

    Declaration
    protected virtual void HandleSelectionPropertyChanges(DataGridSelectionPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    DataGridSelectionPropertyChangedEventArgs args

    ProcessCurrentItemChanged(DataGridSelectionPropertyChangedEventArgs)

    Processes selection when the changes.

    Declaration
    protected override void ProcessCurrentItemChanged(DataGridSelectionPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    DataGridSelectionPropertyChangedEventArgs args
    Overrides
    DataGridSelectionController.ProcessCurrentItemChanged(DataGridSelectionPropertyChangedEventArgs)

    ProcessingPointerTouchUp(RowColumnIndex)

    Processes the pointer touch-up operation of a cell. Handles the touch-up operation in each cell of a SfDataGrid control.

    Declaration
    protected virtual void ProcessingPointerTouchUp(RowColumnIndex rowColumnIndex)
    Parameters
    Type Name Description
    RowColumnIndex rowColumnIndex

    ProcessOnColumnRemoved(DataGridColumn)

    Processes selection when a DataGridColumn is removed from the SfDataGrid control.

    Declaration
    protected virtual void ProcessOnColumnRemoved(DataGridColumn column)
    Parameters
    Type Name Description
    DataGridColumn column

    ProcessOnGroupChanged(DataGridGroupDescriptionChangedEventArgs)

    Processes selection when the grouping is changed in a SfDataGrid control.

    Declaration
    protected override void ProcessOnGroupChanged(DataGridGroupDescriptionChangedEventArgs args)
    Parameters
    Type Name Description
    DataGridGroupDescriptionChangedEventArgs args
    Overrides
    DataGridSelectionController.ProcessOnGroupChanged(DataGridGroupDescriptionChangedEventArgs)

    ProcessOnSortChanged(DataGridSortDescriptionChangedEventArgs)

    Processes selection when the sorting is changed in aSfDataGrid control.

    Declaration
    protected override void ProcessOnSortChanged(DataGridSortDescriptionChangedEventArgs sortColumnHandleArgs)
    Parameters
    Type Name Description
    DataGridSortDescriptionChangedEventArgs sortColumnHandleArgs
    Overrides
    DataGridSelectionController.ProcessOnSortChanged(DataGridSortDescriptionChangedEventArgs)

    ProcessSelectedIndexChanged(DataGridSelectionPropertyChangedEventArgs)

    Processes selection when the SelectedIndex changes.

    Declaration
    protected override void ProcessSelectedIndexChanged(DataGridSelectionPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    DataGridSelectionPropertyChangedEventArgs args
    Overrides
    DataGridSelectionController.ProcessSelectedIndexChanged(DataGridSelectionPropertyChangedEventArgs)

    ProcessSelectedItemChanged(DataGridSelectionPropertyChangedEventArgs)

    Processes theSelectedRow changes in aSfDataGrid control.

    Declaration
    protected override void ProcessSelectedItemChanged(DataGridSelectionPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    DataGridSelectionPropertyChangedEventArgs args
    Overrides
    DataGridSelectionController.ProcessSelectedItemChanged(DataGridSelectionPropertyChangedEventArgs)

    ProcessSelectionModeChanged(DataGridSelectionPropertyChangedEventArgs)

    Processes theDataGridSelectionMode changes in aSfDataGrid control.

    Declaration
    protected override void ProcessSelectionModeChanged(DataGridSelectionPropertyChangedEventArgs args)
    Parameters
    Type Name Description
    DataGridSelectionPropertyChangedEventArgs args
    Overrides
    DataGridSelectionController.ProcessSelectionModeChanged(DataGridSelectionPropertyChangedEventArgs)

    ProcessSourceCollectionChanged(NotifyCollectionChangedEventArgs, CollectionChangedReason)

    Processes the source collection changes to update selection in aSfDataGrid control.

    Declaration
    protected override void ProcessSourceCollectionChanged(NotifyCollectionChangedEventArgs e, CollectionChangedReason reason)
    Parameters
    Type Name Description
    System.Collections.Specialized.NotifyCollectionChangedEventArgs e
    Syncfusion.Maui.DataGrid.CollectionChangedReason reason
    Overrides
    DataGridSelectionController.ProcessSourceCollectionChanged(NotifyCollectionChangedEventArgs, CollectionChangedReason)

    RefreshSelection()

    Refreshes the selections and sets values for theSelectedIndex, SelectedRow,

    Declaration
    protected virtual void RefreshSelection()

    SelectAll()

    Selects all the cells in SfDataGrid.

    Declaration
    protected override void SelectAll()
    Overrides
    DataGridSelectionController.SelectAll()

    Implements

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