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

ASPxTreeList.FocusedNode Property

Gets the focused node.

Namespace: DevExpress.Web.ASPxTreeList

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

Declaration

public TreeListNode FocusedNode { get; }

Property Value

Type Description
TreeListNode

A TreeListNode object that represents the node currently being focused. null (Nothing in Visual Basic) if the focused node feature is disabled.

Remarks

To enable the focused node, set the TreeListSettingsBehavior.AllowFocusedNode property to true.

Note that the focused node cannot be set via the FocusedNode property. To move the node focus in code, use the node’s TreeListNode.Focus method.

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

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