Gets or sets the value that indicates the level for expantion. For 0,only root nodes will be expanded. For 1,root nodes and its sub nodes will be expanded etc. For -1,or for the value that separate last level all nodes will be expanded. Default value is -2, does not affect.

Namespace:  C1.Web.UI.Controls.C1TreeView
Assembly:  C1.Web.UI.Controls.3 (in C1.Web.UI.Controls.3.dll)

Syntax

C#
[LayoutAttribute(LayoutType.Behavior)]
[DefaultValueAttribute()]
[C1CategoryAttribute("Category.Behavior")]
public int ExpandDepth { get; set; }
Visual Basic
<LayoutAttribute(LayoutType.Behavior)> _
<DefaultValueAttribute()> _
<C1CategoryAttribute("Category.Behavior")> _
Public Property ExpandDepth As Integer
	Get
	Set

See Also