Table of Contents

Property AutoCollapseSiblings

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

AutoCollapseSiblings

Indicates whether expanding this tree item should automatically collapse its sibling items. When enabled, the item enforces exclusive expansion behavior within its level in the hierarchy.

public virtual bool AutoCollapseSiblings { get; set; }

Property Value

bool

Examples

If AutoCollapseSiblings is true, expanding one item will collapse others at the same depth.

Remarks

This setting affects only user-driven interactions, such as clicks or keyboard expansion. Programmatic expansion through code is not affected and will not trigger sibling collapse.