Class TreeGridSelectedRowsCollection
Represents a class that maintains the collection of selected rows and its information.
Inheritance
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class TreeGridSelectedRowsCollection : List<TreeGridRowInfo>
Constructors
TreeGridSelectedRowsCollection()
Declaration
public TreeGridSelectedRowsCollection()
Methods
Clear()
Clears the TreeGridRowInfo collection.
Declaration
public void Clear()
Contains(TreeGridRowInfo)
Determines whether the specific row info is in the TreeGridSelectedRowsCollection list.
Declaration
public bool Contains(TreeGridRowInfo rowInfo)
Parameters
Type | Name | Description |
---|---|---|
TreeGridRowInfo | rowInfo | The row info to locate in the TreeGridSelectedRowsCollection list. |
Returns
Type | Description |
---|---|
System.Boolean | true if the row info is found in the TreeGridSelectedRowsCollection list; otherwise, false. |
Contains(Int32)
Determines whether the row info is at the specified row index of TreeGridSelectedRowsCollection 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 TreeGridSelectedRowsCollection 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 TreeGridSelectedRowsCollection list.
Declaration
public bool ContainsObject(object rowData)
Parameters
Type | Name | Description |
---|---|---|
System.Object | rowData | The row data to locate in the TreeGridSelectedRowsCollection list. |
Returns
Type | Description |
---|---|
System.Boolean | true if the row data is found in the TreeGridSelectedRowsCollection list; otherwise, false. |