StackLayout
Class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class StackLayout : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseStackLayout
Implements:
Inherited Members
Constructors
C#
public StackLayout(ViewContext viewContext, IJavaScriptInitializer initializer)
Properties
C#
public string DeferredStyleString { get; set; }
Defines the height of the stack container. Accepts css unit value (ex: 800px).
C#
public string Height { get; set; }
Defines the horizontal align of the items in the stack. Default value is Stretch.
C#
public HorizontalAlign HorizontalAlign { get; set; }
C#
public string InLineStyle { get; }
C#
public bool IsHorizontal { get; }
Defines the items of the StackLayout
C#
public List<StackLayoutContainer> Items { get; set; }
Defines the orientation of the items in the stack. Default value is Horizontal.
C#
public StackLayoutOrientation Orientation { get; set; }
Defines the spacing between items in the stack. Accepts css unit value (ex: 10px).
C#
public string Spacing { get; set; }
Defines the vertical align of the items in the stack. Default value is Stretch.
C#
public VerticalAlign VerticalAlign { get; set; }
Methods
Writes the HTML.
C#
protected override void WriteHtml(HtmlTextWriter writer)
Overrides: