New to Telerik UI for ASP.NET Core? 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)
Parameters:viewContextViewContext

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; }

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; }

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

Serializes the component settings to a dictionary.

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

IDictionary<string, object>

A dictionary of settings.

Overrides: WidgetBase.Serialize()

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

Writes the HTML.

C#
protected override void WriteHtml(TextWriter writer)
Parameters:writerTextWriter

Overrides: WidgetBase.WriteHtml(TextWriter)

Writes the initialization script.

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

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)