Class GridSelectedRowsCollection
Represents a class that maintains the collection of selected rows and its information.
Inheritance
Namespace: Syncfusion.UI.Xaml.DataGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class GridSelectedRowsCollection : List<GridRowInfo>
Constructors
GridSelectedRowsCollection()
Declaration
public GridSelectedRowsCollection()
Methods
Contains(NodeEntry)
Determines whether the specific node entry is in the GridSelectedRowsCollection list.
Declaration
public bool Contains(NodeEntry nodeEntry)
Parameters
Type | Name | Description |
---|---|---|
NodeEntry | nodeEntry | The node entry to locate in the GridSelectedRowsCollection list. |
Returns
Type | Description |
---|---|
System.Boolean | true if the node entry is found in the GridSelectedRowsCollection list; otherwise, false. |
Contains(GridRowInfo)
Determines whether the specific row info is in the GridSelectedRowsCollection list.
Declaration
public bool Contains(GridRowInfo rowInfo)
Parameters
Type | Name | Description |
---|---|---|
GridRowInfo | rowInfo | The row info to locate in the GridSelectedRowsCollection list. |
Returns
Type | Description |
---|---|
System.Boolean | true if the row info is found in the GridSelectedRowsCollection list; otherwise, false. |
Contains(Int32)
Determines whether the row info is at the specified row index of GridSelectedRowsCollection list.
Declaration
public bool Contains(int rowIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The index that contains the row info at specified index in GridSelectedRowsCollection list. |
Returns
Type | Description |
---|---|
System.Boolean | true if the row info is found at specified index; otherwise, false. |
ContainsObject(Object)
Determines whether the specific row data is in the GridSelectedRowsCollection list.
Declaration
public bool ContainsObject(object rowData)
Parameters
Type | Name | Description |
---|---|---|
System.Object | rowData | The row data to locate in the GridSelectedRowsCollection list. |
Returns
Type | Description |
---|---|
System.Boolean | true if the row data is found in the GridSelectedRowsCollection list; otherwise, false. |