asp.net.ph

TreeNode.Expanded Property

System.Web.UI.TreeNodes Namespace   TreeNode Class


.NET Framework version 2.0

Sets or retrieves a value indicating whether a TreeNode is expanded.

Syntax


Inline <asp:treenode expanded = true | false ... >
Script TreeNode.Expanded [ = true | false ]

Property Value

This property accepts or returns only a boolean value: true if a TreeNode is expanded; otherwise, false.

Remarks

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.

See Also

TreeNode Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph