TelerikStackLayout
A component that arranges child content in a horizontal or vertical stack with configurable spacing and alignment. Control item spacing via Spacing, container dimensions with Width and Height, orientation through StackLayoutOrientation (Horizontal/Vertical), and alignment using HorizontalAlign and VerticalAlign. Provide content with ChildContent.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class TelerikStackLayout : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikStackLayout
Implements:
Inherited Members
Constructors
public TelerikStackLayout()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
Properties
Defines the content of the StackLayout.
[Parameter]
public RenderFragment ChildContent { get; set; }
Defines the height of the stack container as a CSS value.
[Parameter]
public string Height { get; set; }
Defines the orientation of the items in the stack. Default value is Horizontal.
[Parameter]
public StackLayoutOrientation Orientation { get; set; }
Defines the spacing between items in the stack. Accepts css unit value (ex: 10px).
[Parameter]
public string Spacing { get; set; }