Skip to main content
A newer version of this page is available. .

TreeListControlBase.GetSelectedNodes() Method

Returns selected nodes.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public TreeListNode[] GetSelectedNodes()

Returns

Type Description
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.

To learn more, see Multiple Row Selection and Obtaining Selected Rows and Cells.

See Also