TileLayoutBuilder
Defines the fluent API for configuring the Kendo UI TileLayout
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class TileLayoutBuilder : WidgetBuilderBase<TileLayout, TileLayoutBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<TileLayout, TileLayoutBuilder>TileLayoutBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the TileLayoutBuilder class.
Methods
Defines the number of columns.
public TileLayoutBuilder Columns(double value)
The value for Columns
Returns:Returns the current TileLayoutBuilder instance.
Determines the width of the columns. Numeric values are treated as pixels.
public TileLayoutBuilder ColumnsWidth(string value)
The value for ColumnsWidth
Returns:Returns the current TileLayoutBuilder instance.
An array with objects representing the settings of the layout items.
public TileLayoutBuilder Containers(Action<TileLayoutContainerFactory> configurator)
The TileLayoutContainerFactory for the containers setting.
Returns:Returns the current instance of TileLayoutBuilder .
Configures the client-side events.
public TileLayoutBuilder Events(Action<TileLayoutEventBuilder> configurator)
The client events action.
Returns:Returns the current TileLayoutBuilder instance.
An object holding values that determine the spacing between the layout items horizontally and vertically.
public TileLayoutBuilder Gap(Action<TileLayoutGapSettingsBuilder> configurator)
The TileLayoutGapSettingsBuilder for the gap setting.
Returns:Returns the current instance of TileLayoutBuilder .
Determines the height of the layout. Numeric values are treated as pixels.
public TileLayoutBuilder Height(string value)
The value for Height
Returns:Returns the current TileLayoutBuilder instance.
A value indicating whether keyboard navigation will be enabled.
A value indicating whether keyboard navigation will be enabled.
public TileLayoutBuilder Navigatable(bool value)
The value for Navigatable
Returns:Returns the current TileLayoutBuilder instance.
Determines whether the reordering functionality will be enabled.
public TileLayoutBuilder Reorderable()
Returns the current instance of TileLayoutReorderableSettingsBuilder .
Determines whether the reordering functionality will be enabled.
public TileLayoutBuilder Reorderable(Action<TileLayoutReorderableSettingsBuilder> configurator)
The TileLayoutReorderableSettingsBuilder for the reorderable setting.
Returns:Returns the current instance of TileLayoutBuilder .
Determines whether the reordering functionality will be enabled.
public TileLayoutBuilder Reorderable(bool enabled)
Enables or disables the reorderable option.
Returns:Returns the current instance of TileLayoutReorderableSettingsBuilder .
Determines whether the resizing functionality will be enabled.
Determines whether the resizing functionality will be enabled.
public TileLayoutBuilder Resizable(bool value)
The value for Resizable
Returns:Returns the current TileLayoutBuilder instance.
Determines the height of the rows. Numeric values are treated as pixels.
public TileLayoutBuilder RowsHeight(string value)
The value for RowsHeight
Returns:Returns the current TileLayoutBuilder instance.
Determines the width of the layout. Numeric values are treated as pixels.
public TileLayoutBuilder Width(string value)
The value for Width
Returns:Returns the current TileLayoutBuilder instance.