TileLayout
Kendo UI TileLayout component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class TileLayout : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseTileLayout
Implements:
Inherited Members
Constructors
Initializes a new instance of the TileLayout class.
public TileLayout(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
The view context
initializerIJavaScriptInitializerThe JavaScriptInitializer
urlGeneratorIUrlGeneratorThe URL generator.
Properties
Determines the width of the columns. Numeric values are treated as pixels.
public string ColumnsWidth { get; set; }
An array with objects representing the settings of the layout items.
public List<TileLayoutContainer> Containers { get; set; }
An object holding values that determine the spacing between the layout items horizontally and vertically.
public TileLayoutGapSettings Gap { get; set; }
Determines the height of the layout. Numeric values are treated as pixels.
public string Height { get; set; }
A value indicating whether keyboard navigation will be enabled.
public bool? Navigatable { get; set; }
Determines whether the reordering functionality will be enabled.
public TileLayoutReorderableSettings Reorderable { get; set; }
Determines whether the resizing functionality will be enabled.
public bool? Resizable { get; set; }
Determines the height of the rows. Numeric values are treated as pixels.
public string RowsHeight { get; set; }
Methods
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
protected override void WriteHtml(HtmlTextWriter writer)
The HtmlTextWriter.
Overrides:
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: