New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Kendo UI TileLayout component

Definition

Constructors

Initializes a new instance of the TileLayout class.

C#
public TileLayout(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
Parameters:viewContextViewContext

The view context

initializerIJavaScriptInitializer

The JavaScriptInitializer

urlGeneratorIUrlGenerator

The URL generator.

Properties

Defines the number of columns.

C#
public double? Columns { get; set; }

Determines the width of the columns. Numeric values are treated as pixels.

C#
public string ColumnsWidth { get; set; }

An array with objects representing the settings of the layout items.

C#
public List<TileLayoutContainer> Containers { get; set; }

An object holding values that determine the spacing between the layout items horizontally and vertically.

C#
public TileLayoutGapSettings Gap { get; set; }

Determines the height of the layout. Numeric values are treated as pixels.

C#
public string Height { get; set; }

A value indicating whether keyboard navigation will be enabled.

C#
public bool? Navigatable { get; set; }

Determines whether the reordering functionality will be enabled.

C#
public TileLayoutReorderableSettings Reorderable { get; set; }

Determines whether the resizing functionality will be enabled.

C#
public bool? Resizable { get; set; }

Determines the height of the rows. Numeric values are treated as pixels.

C#
public string RowsHeight { get; set; }

Determines the width of the layout. Numeric values are treated as pixels.

C#
public string Width { get; set; }

Methods

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

Overrides: WidgetBase.Serialize()

Writes the HTML.

C#
protected override void WriteHtml(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

The HtmlTextWriter.

Overrides: WidgetBase.WriteHtml(HtmlTextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)