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

ASPxTreeList.GetSelectedNodes() Method

Returns a list of selected nodes.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v21.2.dll

NuGet Package: DevExpress.Web

Declaration

public List<TreeListNode> GetSelectedNodes()

Returns

Type Description
List<TreeListNode>

The list of TreeListNode objects that represent nodes currently being selected.

Remarks

A node is selected if its TreeListNode.Selected property is set to true. End-users can select nodes via check boxes displayed within selection cells.

To learn more, see Selection.

Note

In virtual mode, the GetSelectedNodes method does not return invisible nodes. To learn more, see the Virtual Mode topic.

See Also