MSDN Library

EXPANDLEVEL Attribute | expandLevel Property

Sets or retrieves the number of levels to expand the TreeView when initially rendered.

Syntax

HTML <namespace:TREEVIEW EXPANDLEVEL = sChildType... >
Scripting TREEVIEW.expandLevel [ = sChildType ]

Possible Values

namespace Prefix that associates a custom tag with an XML namespace. This prefix is set using the XMLNS attribute of the html tag.
sChildType String that specifies or receives the number of levels to expand the TreeView.
-1
Default. The tree is completely collapsed.

The property is read/write. The property has a default value of -1.

Applies To

TREEVIEW

See Also

Show:
© 2016 Microsoft