Skip to main content

ASPxClientTreeViewNode.SetVisible(value) Method

Specifies whether the node is visible.

Declaration

SetVisible(
    value: boolean
): void

Parameters

Name Type Description
value boolean

true if the node is visible; otherwise, false.

Remarks

Use the SetVisible method to dynamically define a node’s visible state on the client. In order to determine the node’s visibility, use the ASPxClientTreeViewNode.GetVisible method on the client side. The original node’s visibility can be defined by using the TreeViewNode.ClientVisible property.

Note

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

See Also