The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

TreeListEditor.HoldRootValue Property

Specifies whether the nodes whose parent node is absent in the TreeListEditor's data source should be displayed as root.

Namespace: DevExpress.ExpressApp.TreeListEditors.Win

Assembly: DevExpress.ExpressApp.TreeListEditors.Win.v19.2.dll

Declaration

public bool HoldRootValue { get; set; }
Public Property HoldRootValue As Boolean
public bool HoldRootValue { get; set; }
Public Property HoldRootValue As Boolean

Property Value

Type Description
Boolean

true, if the nodes whose parent node is absent in the data source are displayed as root; otherwise, false. The default value is false.

Property Value

Type Description
Boolean

true, if the nodes whose parent node is absent in the data source are displayed as root; otherwise, false. The default value is false.

Remarks

This property affects what nodes are displayed in a List View represented by the TreeListEditor, when filtering the List View's ListView.CollectionSource. If the HoldRootValue property is set to true, then after a List View has been filtered so that some parent nodes are now missing, their first-level child nodes will be displayed as root. If the HoldRootValue property is set to false, the child nodes will not be displayed.

See Also