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.v19.2.dll

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetSelectedNodes() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also