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.v24.1.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
Declaration
[Browsable(false)]
[DefaultValue(true)]
[DXCategory("Behavior")]
public virtual bool Visible { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
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.
Handle the TreeList.CustomRowFilter event to iterate through all nodes and filter out some of them. Read the following topic to learn more: Filtering in Code.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.