ClassTelerikStackLayout
Class
The class for the Telerik StackLayout component.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
cs-api-definition
public class TelerikStackLayout : BaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseBaseComponentTelerikStackLayout
Implements:
Inherited Members
Constructors
TelerikStackLayout()
Declaration
cs-api-definition
public TelerikStackLayout()
Properties
ChildContent
Defines the content of the StackLayout.
Declaration
cs-api-definition
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Height
Defines the height of the stack container as a CSS value.
HorizontalAlign
Defines the horizontal alignment of the items in the stack. The default value is Stretch. The possible options are Left, Right, Center and Stretch.
Declaration
cs-api-definition
[Parameter]
public StackLayoutHorizontalAlign HorizontalAlign { get; set; }
Property Value
Orientation
Defines the orientation of the items in the stack. Default value is Horizontal.
Declaration
cs-api-definition
[Parameter]
public StackLayoutOrientation Orientation { get; set; }
Property Value
Spacing
Defines the spacing between items in the stack. Accepts css unit value (ex: 10px).
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides