If this option is set to true, expanded node will be collapsed if other node is expanded.

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

Syntax

C#
[C1CategoryAttribute("Category.Behavior")]
[JsonAttribute(true, true, false)]
[LayoutAttribute(LayoutType.Behavior)]
[DefaultValueAttribute(false)]
public bool AutoCollapse { get; set; }
Visual Basic
<C1CategoryAttribute("Category.Behavior")> _
<JsonAttribute(True, True, False)> _
<LayoutAttribute(LayoutType.Behavior)> _
<DefaultValueAttribute(False)> _
Public Property AutoCollapse As Boolean
	Get
	Set

See Also