LayoutGroup Blazor API

LayoutGroup Properties

NameTypeDefaultDescription
DisabledboolfalseDetermines whether the element is interactive or not. When enabled, the element can be interacted with by users (e.g., clicked, edited, or focused). When disabled, the element becomes non-interactive and typically appears visually subdued, preventing any user actions.
ModifiersIEnumerable<object>N/ASets or retrieves the modifier properties applied to the Layout item, allowing you to customize its appearance and behavior (such as alignment, padding, margin, or transformations). Use this property to define or access configuration options that modify how the Layout item is displayed or interacts within its container.
Minint50Specifies the minimum allowable size for the item, ensuring that it cannot be resized smaller than this value. This property helps maintain layout integrity by preventing the item from shrinking below the defined threshold.
Labelstring"Group"Specifies the text or name displayed as the label for the item, which is typically used to identify or describe the item in user interfaces.
OrientationLayoutGroupOrientationLayoutGroupOrientation.VerticalSpecifies the alignment or direction in which the group’s elements are arranged (e.g., horizontal, vertical, or custom orientation). This property controls how child components are positioned within the group.
SizeobjectN/ASpecifies the overall dimensions of the item, such as its width, height, or volume, which can be used for layout, display, or calculation purposes.
UnfocusableboolfalseIf set to true, the element will be excluded from the tab order and cannot receive keyboard focus. This means users will not be able to focus on the element using the keyboard or other assistive technologies.
Refreshvoid'N/A'Refreshes the Blazor Component. Performs a layout of the HTML Elements and recalculates the measurements. Rendervoid'N/A'Re-renders the Blazor Component. This method will make a full re-render. StateHasChangedvoid'N/A'Refreshes the state and Re-renders the Blazor Component, if necessary.

Enums

LayoutGroupOrientation

LayoutGroupOrientation.Horizontal
LayoutGroupOrientation.Vertical