Share via


EXPANDLEVEL Attribute | ExpandLevel Property

Sets or retrieves the number of levels to expand within the TreeView.

Syntax

Visual Basic  Public  Property ExpandLevel As int
C# public  int ExpandLevel { get; set; }
Managed C++ public:  __property int get_ExpandLevel();
public:  __property void set_ExpandLevel(int);
JScript public   function get ExpandLevel() : int;
public   function set ExpandLevel(int);

Possible Values

iExpandLevel int that specifies or receives the number of levels to expand within the TreeView.
0Default. The tree is completely collapsed.

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

Applies To

TREEVIEW

See Also

Internet Explorer WebControls, About the TreeView WebControl