Class GridSelectedCellsInfo
Represents a class that contains the information about the particular selected cells in SfDataGrid.
Inheritance
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class GridSelectedCellsInfo : Object
Constructors
GridSelectedCellsInfo()
Initialize a new instance of GridSelectedCellsInfo class.
Declaration
public GridSelectedCellsInfo()
Properties
ColumnCollection
Returns the collection of column that contains the selected cells.
Declaration
public List<GridColumn> ColumnCollection { get; }
Property Value
Type |
---|
System.Collections.Generic.List<GridColumn> |
GridUnboundRowInfo
Gets or sets the GridUnBoundRow information of the corresponding selected UnBoundRow cells.
Declaration
public GridUnBoundRow GridUnboundRowInfo { get; set; }
Property Value
Type | Description |
---|---|
GridUnBoundRow | The corresponding GridUnBoundRow information of the corresponding selected UnBoundRow cells. |
IsAddNewRow
Gets or sets a value that indicates whether the AddNewRow that contains the selected cells.
Declaration
public bool IsAddNewRow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the AddNewRow that contains the selected cells; otherwise, false. |
IsDataRow
Gets or sets a value that determines whether the DataRow that contains selected cells.
Declaration
public bool IsDataRow { get; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the DataRow that contains the selected cells; otherwise, false. |
IsDirty
Gets a value that indicates whether the item is removed from GridCellInfo.
Declaration
public bool IsDirty { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the item is removed; otherwise, false. |
IsFilterRow
Gets a value indicating whether this row index is FilterRow index.
Declaration
public bool IsFilterRow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | True if the rowIndex is FilterRow, false if not. |
IsUnBoundRow
Gets or sets a value that indicates whether the UnBoundRow that contains the selected cells.
Declaration
public bool IsUnBoundRow { get; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the UnBoundRow that contains the selected cells; otherwise, false. |
NodeEntry
Gets the NodeEntry information of the selected cells.
Declaration
public NodeEntry NodeEntry { get; set; }
Property Value
Type | Description |
---|---|
NodeEntry | The corresponding NodeEntry information. |
RowData
Gets or sets the data item for the corresponding selected cells.
Declaration
public object RowData { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The data item for the corresponding selected cells. |
RowIndex
Gets or sets the index of the corresponding selected summary row, UnBoundRow, DetailsView.
Declaration
public int RowIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The zero-based index of the corresponding summary row, UnBoundRow, DetailsView. |
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 column is present in the selected column selection; otherwise false. |