Back to Devexpress

TreeListControlBase.GetSelectedNodes() Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistcontrolbase.md

latest1.8 KB
Original Source

TreeListControlBase.GetSelectedNodes() Method

Returns selected nodes.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public TreeListNode[] GetSelectedNodes()
vb
Public Function GetSelectedNodes As TreeListNode()

Returns

TypeDescription
TreeListNode[]

An array of nodes currently selected within a View.

|

Remarks

The GetSelectedNodes method returns an array of TreeListNode objects that are the selected nodes. To obtain a collection of data objects which correspond to selected nodes, use the DataControlBase.SelectedItems property. The DataControlBase.GetSelectedRowHandles method returns handles of the selected nodes.

Refer to the Row Selection topic for more information.

See Also

SelectedItems

GetSelectedRowHandles()

TreeListControlBase Class

TreeListControlBase Members

DevExpress.Xpf.Grid Namespace