Skip to main content

LgSplitContainer

Module : Lagoon.UI
Namespace : Lagoon.UI.Components
Category: SplitContainer
Inherits from: LgComponentBase

The split container component.

Parameters​

ParameterTypeDescription
AdditionalAttributesIReadOnlyDictionary<string, object>Gets or sets a collection of additional attributes that will be applied to the created element.
CollapsableboolGets or sets if the head can be collapsed.
CollapsedboolGets or sets whether the head content is collapsed.
CollapsedChangedEventCallback<bool>Event callback invoked when the collapsed state changes.
CssClassstringThe CSS class to apply to the component.
HeadContentRenderFragmentThe content to display in the head content.
HeadCssClassstringThe CSS class to apply to the main content.
HeadMaxSizestringThe maximum size of the head content. The remaining space is used by the main content. ex: "200px", "80%", ...
HeadMinSizestringThe minimum size of the head content. The remaining space is used by the main content. ex: "100px", "10%", ...
HorizontalboolGets or sets the split orientation (Vertical/Horizontal). The default is vertical orientation.
LockedboolThe flag indicating whether the head content size is locked.
MainContentRenderFragmentThe content to display in the main panel.
MainCssClassstringThe CSS class to apply to the main content.
ReversedboolGets or sets whether the split container is reversed (Head on the right/bottom, Main on the left/top). When true, the collapsing/docking direction is also reversed.
StorageKeystringThe unique identifier for this split container, used for persisting the head content size.