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

TreeListSettingsBehavior.AllowFocusedNode Property

Gets or sets whether the focused node is displayed.

Namespace: DevExpress.Web.ASPxTreeList

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

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool AllowFocusedNode { get; set; }

Property Value

Type Default Description
Boolean **false**

true to display the focused node; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowFocusedNode
ASP.NET Controls and MVC Extensions ASPxTreeList
.SettingsBehavior .AllowFocusedNode
ASP.NET MVC Extensions MVCxTreeList
.SettingsBehavior .AllowFocusedNode
TreeListSettings
.SettingsBehavior .AllowFocusedNode
TreeListSettings<RowType>
.SettingsBehavior .AllowFocusedNode

Remarks

If the AllowFocusedNode property is set to false, the focused node feature is disabled. In this instance, the ASPxTreeList.FocusedNode property’s value is always null and the ASPxTreeList.FocusedNodeChanged event isn’t raised. The style settings used to paint the focused node are not used.

To learn more, see Focused Node.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowFocusedNode 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