StackLayout
Telerik UI for ASP.NET Core StackLayout component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class StackLayout : WidgetBase, IHtmlAttributesContainer
Inheritance: objectWidgetBaseStackLayout
Implements:
Inherited Members
Constructors
Initializes a new instance of the StackLayout class.
Properties
DeferredStyleString member.
public string DeferredStyleString { get; set; }
Defines the height of the stack container. Accepts css unit value (ex: 800px).
public string Height { get; set; }
Defines the horizontal align of the items in the stack. Default value is Stretch.
public HorizontalAlign HorizontalAlign { get; set; }
Defines the items of the StackLayout
public List<StackLayoutContainer> Items { get; set; }
Defines the orientation of the items in the stack. Default value is Horizontal.
public StackLayoutOrientation Orientation { get; set; }
Defines the spacing between items in the stack. Accepts css unit value (ex: 10px).
public string Spacing { get; set; }
Defines the vertical align of the items in the stack. Default value is Stretch.
public VerticalAlign VerticalAlign { get; set; }
Methods
Writes the HTML content.
protected override void WriteHtml(TextWriter writer)
The text writer.
Overrides:
WriteInitializationScript method.
public override void WriteInitializationScript(TextWriter writer)
Overrides: