ASPxTreeList.GetSelectedNodes(Boolean) Method

Returns a list of selected nodes.

Namespace: DevExpress.Web.ASPxTreeList

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

Declaration

public List<TreeListNode> GetSelectedNodes(
    bool visibleOnly
)
Public Function GetSelectedNodes(
    visibleOnly As Boolean
) As List(Of TreeListNode)

Parameters

Name Type Description
visibleOnly Boolean

true to return selected nodes that are visible on-screen; false to return all selected nodes contained within the ASPxTreeList.

Returns

Type Description
List<TreeListNode>

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

Remarks

To obtain the number of selected nodes within the ASPxTreeList, use the ASPxTreeList.SelectionCount property.

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