FoldableGroup
Resource coordinating expansion across foldable containers.
Assign one FoldableGroup to several FoldableContainer controls. Expanding one folds the others. AllowFoldingAll permits no expanded section; disabling it retains at least one expanded container when members exist.
The group references existing containers rather than creating them or replacing parent layout. GetContainers order does not define UI order.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
FoldableGroupConstructor
public FoldableGroup();Creates a group resource. Assign this same instance to several FoldableContainer controls; separate new resources do not form one group.
Properties1
AllowFoldingAllProperty
public bool AllowFoldingAll { get; set; }Allows every member to fold. Switching to false with none expanded automatically expands an existing member; selection order is not UI order. This may not emit Expanded/FoldingChanged.
Methods4
GetContainersReckfell.Collections.Array<FoldableContainer>
public Reckfell.Collections.Array<FoldableContainer> GetContainers();Returns a new Array<FoldableContainer> referencing members in unspecified order. Mutating the array does not change membership; assign the container’s FoldableGroup. Do not free borrowed containers.
Reckfell.Collections.Array<FoldableContainer>Returns a new Array<FoldableContainer> referencing members in unspecified order. Mutating the array does not change membership; assign the container’s FoldableGroup. Do not free borrowed containers.
GetExpandedContainerFoldableContainer
public FoldableContainer GetExpandedContainer();Returns the current expanded member or null. In Expanded, the target Folded value may not yet be assigned; use the event argument or defer a state query.
FoldableContainerReturns the current expanded member or null. In Expanded, the target Folded value may not yet be assigned; use the event argument or defer a state query.
IsAllowFoldingAllbool
public bool IsAllowFoldingAll();Allows every member to fold. Switching to false with none expanded automatically expands an existing member; selection order is not UI order. This may not emit Expanded/FoldingChanged.
boolAllows every member to fold. Switching to false with none expanded automatically expands an existing member; selection order is not UI order. This may not emit Expanded/FoldingChanged.
SetAllowFoldingAllvoid
public void SetAllowFoldingAll(bool enabled);Allows every member to fold. Switching to false with none expanded automatically expands an existing member; selection order is not UI order. This may not emit Expanded/FoldingChanged.
| Name | Type | Default |
|---|---|---|
enabled | bool | — |
enabledAllow every group member to fold.
Signals and events1
ExpandedEvent
public event FoldableGroup.ExpandedEventHandler Expanded;Identifies the container being expanded. Emitted before its new Folded value is assigned: an immediate GetExpandedContainer may not yet return it. Not a universal event for every automatic group change.
| Name | Type | Default |
|---|---|---|
container | FoldableContainer | — |
containerContainer being expanded; its new state may not yet be assigned.