System.Web.UI.WebControls Namespace TreeView Class
Sets or retrieves a value indicating whether the text for nodes in a TreeView control should wrap.
Inline |
<asp:treeview nodewrap = true | false ... > |
Script |
TreeView.NodeWrap [ = true | false ] |
This property accepts or returns only a boolean value: true to wrap the node text; otherwise false. Default value is false.
Use the NodeWrap property to specify or determine whether the text displayed in each node in a TreeView automatically splits and continues on the next line.
NOTE: This property applies only when the width of the TreeView ( or the container that contains the TreeView ) is set and the node's content exceeds the given width.
TreeView Members