Class SelectedCellsInfo
Represents a class that contains the information about the selected cells in SfDataGrid.
Inheritance
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class SelectedCellsInfo : Object
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 |
---|
System.Collections.Generic.List<DataGridColumn> |
GridUnboundRowInfo
Gets the DataGridUnboundRow information of the corresponding selected UnBoundRow cells.
Declaration
public DataGridUnboundRow GridUnboundRowInfo { get; }
Property Value
Type |
---|
DataGridUnboundRow |
IsDataRow
Gets a value indicating whether the selected cells are of a data row.
Declaration
public bool IsDataRow { get; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the selected cells are of a data 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 |
---|---|
System.Boolean | 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 |
---|---|
System.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 |
---|
System.Int32 |
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 |
---|
System.Boolean |