Class SelectedCellsInfo
Represents a class that contains the information about the selected cells in SfDataGrid.
Inheritance
Namespace: Syncfusion.SfDataGrid.XForms
Assembly: Syncfusion.SfDataGrid.XForms.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 GridColumn of the selected cells.
Declaration
public List<GridColumn> Columns { get; }
Property Value
Type |
---|
System.Collections.Generic.List<GridColumn> |
GridUnboundRowInfo
Gets the GridUnboundRow information of the corresponding selected UnBoundRow cells.
Declaration
public GridUnboundRow GridUnboundRowInfo { get; }
Property Value
Type | Description |
---|---|
GridUnboundRow | The corresponding GridUnboundRow information of the corresponding selected UnBoundRow cells. |
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 | Description |
---|---|
NodeEntry | NodeEntry of the selected cells. |
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(GridColumn)
Determines whether the given column is present in the selected column collection.
Declaration
public bool HasColumn(GridColumn column)
Parameters
Type | Name | Description |
---|---|---|
GridColumn | column | The corresponding column. |
Returns
Type | Description |
---|---|
System.Boolean | Returnstrue If the specified |