Class DataGridCurrentCellManager
Represents the class that manages the current cell operation in SfDataGrid.
Inheritance
Implements
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridCurrentCellManager : Object, IDisposable
Constructors
DataGridCurrentCellManager(SfDataGrid)
Initializes a new instance of the DataGridCurrentCellManager class.
Declaration
public DataGridCurrentCellManager(SfDataGrid grid)
Parameters
| Type | Name | Description |
|---|---|---|
| SfDataGrid | grid | An instance of SfDataGrid class. |
Properties
DataColumn
Gets or sets the currently active cell.
Declaration
public DataColumnBase DataColumn { get; set; }
Property Value
| Type | Description |
|---|---|
| Syncfusion.Maui.DataGrid.DataColumnBase | The Syncfusion.Maui.DataGrid.DataColumnBase that represents the current cell. Returns null if there is no currently active cell. |
RowColumnIndex
Gets or sets the RowColumnIndex that indicates the position of the current cell.
Declaration
public RowColumnIndex RowColumnIndex { get; set; }
Property Value
| Type |
|---|
| RowColumnIndex |
Methods
Dispose()
Disposes all the resources used by the
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the VisualContainer class.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing | Indicates whether the call is from Dispose method or from a finalize method. |
ProcessCurrentCellSelection(RowColumnIndex)
Processes the selection for current cell corresponding to its RowColumnIndex.
Declaration
protected virtual void ProcessCurrentCellSelection(RowColumnIndex newRowColumnIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| RowColumnIndex | newRowColumnIndex | The corresponding RowColumnIndex to process the current cell selection. |
ProcessCurrentRowSelection(RowColumnIndex)
Declaration
protected virtual void ProcessCurrentRowSelection(RowColumnIndex newRowColumnIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| RowColumnIndex | newRowColumnIndex |
RaiseValidationAndEndEdit(Boolean)
Declaration
protected bool RaiseValidationAndEndEdit(bool canCommit = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | canCommit |
Returns
| Type |
|---|
| System.Boolean |