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

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.v19.1.dll

Declaration

[Browsable(false)]
[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool Visible { get; set; }

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Visible 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