System.Web.UI.TreeNodes Namespace TreeNode Class
.NET Framework version 2.0
Sets or retrieves a value indicating whether a TreeNode is expanded.
Inline |
<asp:treenode expanded = true | false ... > |
Script |
TreeNode.Expanded [ = true | false ] |
This property accepts or returns only a boolean value: true if a TreeNode is expanded; otherwise, false.
Use the Expanded property to specify or determine whether a TreeNode is expanded in a TreeView control.
You can expand and collapse a node by calling the Expand and Collapse methods, respectively. You can also expand and collapse a node and all its child nodes by calling the ExpandAll and CollapseAll methods, respectively.
TreeNode Members