Class SelectedCellsInfo
Represents a class that contains the information about the selected cells in SfDataGrid.
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class SelectedCellsInfo
Constructors
SelectedCellsInfo()
Initializes a new instance of the SelectedCellsInfo class.
Declaration
public SelectedCellsInfo()
Properties
Columns
Gets the list that contains the DataGridColumn of the selected cells.
Declaration
public List<DataGridColumn>? Columns { get; }
Property Value
| Type |
|---|
| List<DataGridColumn> |
GridUnboundRowInfo
Gets the DataGridUnboundRow information of the corresponding selected UnBoundRow cells.
Declaration
public DataGridUnboundRow? GridUnboundRowInfo { get; }
Property Value
| Type |
|---|
| DataGridUnboundRow |
IsAddNewRow
Gets a value indicating whether the selected cells are AddNewRow.
Declaration
public bool IsAddNewRow { get; set; }
Property Value
| Type |
|---|
| bool |
IsDataRow
Gets a value indicating whether the selected cells are of a data row.
Declaration
public bool IsDataRow { get; }
Property Value
| Type | Description |
|---|---|
| bool | true if the selected cells are of a data row; otherwise, false. |
IsFilterRow
Gets a value indicating whether the selected cells are of a filter row.
Declaration
public bool IsFilterRow { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | true if the selected cells are of a filter row; otherwise, false. |
IsUnBoundRow
Gets a value indicating whether the selected cells are of an unbound row.
Declaration
public bool IsUnBoundRow { get; }
Property Value
| Type | Description |
|---|---|
| bool | true if the selected cells are of an unbound row; otherwise, false. |
NodeEntry
Gets the NodeEntry information of the selected cells.
Declaration
public NodeEntry? NodeEntry { get; }
Property Value
| Type |
|---|
| NodeEntry |
RowData
Gets the underlying data object of the row that contains the selected cells.
Declaration
public object? RowData { get; }
Property Value
| Type | Description |
|---|---|
| object | The underlying data object of the row that contains the selected cells. |
RowIndex
Gets the corresponding row index of the selected cells.
Declaration
public int RowIndex { get; }
Property Value
| Type |
|---|
| int |
Methods
HasColumn(DataGridColumn)
Determines whether the given column is present in the selected column collection.
Declaration
public bool HasColumn(DataGridColumn column)
Parameters
| Type | Name | Description |
|---|---|---|
| DataGridColumn | column |
Returns
| Type |
|---|
| bool |