TreeListMultiSelection.Contains(TreeListNode) Method
Specifies whether a specific node is in the collection of selected nodes.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
Parameters
Name | Type | Description |
---|---|---|
node | TreeListNode | The TreeListNode object to check. |
Returns
Type | Description |
---|---|
Boolean | true if a node is in the collection of selected nodes; otherwise, false |
Remarks
The Contains method defines whether a specific node is selected.
Example
The code below determines whether the first node in the Tree List is selected.
See Also