Skip to main content
Tab

TreeViewNode.Visible Property

Gets or sets a value specifying the current node’s visibility.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool Visible { get; set; }

Property Value

Type Default Description
Boolean true

true if the node is visible; otherwise false.

Remarks

Use the Visible property of nodes to dynamically change the content of an ASPxTreeView. This property enables you to hide and display specific nodes, when certain conditions are met.

For more information see the Node topic.

Note

If a node’s server Visible property is set to false, the node is not rendered into the web page at all, so it can’t be manipulated on the client side.

See Also