Back to Devexpress

TreeViewNode.Visible Property

aspnet-devexpress-dot-web-dot-treeviewnode-cd23f65b.md

latest1.6 KB
Original Source

TreeViewNode.Visible Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(true)]
public bool Visible { get; set; }
vb
<DefaultValue(True)>
Public Property Visible As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

GetVisible

SetVisible(value)

Tree View

TreeViewNode Class

TreeViewNode Members

DevExpress.Web Namespace