TreeListNode.Visible Property

Gets or sets whether the node is visible. The property allows you to perform node filtering.

Namespace: DevExpress.XtraTreeList.Nodes

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[Browsable(false)]
[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool Visible { get; set; }
<Browsable(False)>
<DefaultValue(True)>
<DXCategory("Behavior")>
Public Overridable Property Visible As Boolean

Property Value

Type Default Description
Boolean

true

true, if the node is visible; otherwise, false.

Remarks

If the Visible property is set to true, the node can be accessed by an end-user (directly, by scrolling the control and/or expanding the node's parent).

You can set the Visible property to false to filter out certain nodes.

To iterate through all nodes and filter out some of them, handle the TreeList.FilterNode event. See Filtering in Code to learn more.

See Also