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

Defines the fluent API for configuring the TileLayoutGapSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class TileLayoutGapSettingsBuilder

Inheritance: objectTileLayoutGapSettingsBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public TileLayoutGapSettingsBuilder(TileLayoutGapSettings settings)
Parameters:settingsTileLayoutGapSettings

The TileLayoutGapSettings

Methods

A value in pixels determining the space between horizontal spacing between the layout items.

C#
public TileLayoutGapSettingsBuilder Columns(double value)
Parameters:valuedouble

The value that configures the horizontal spacing.

Returns:

TileLayoutGapSettingsBuilder

Example:
C#
@(Html.Kendo().TileLayout()
.Name("tilelayout")
.Gap(gap => gap.Columns(20))
)

A value in pixels determining the space between vertical spacing between the layout items.

C#
public TileLayoutGapSettingsBuilder Rows(double value)
Parameters:valuedouble

The value that configures the vertical spacing.

Returns:

TileLayoutGapSettingsBuilder

Example:
C#
@(Html.Kendo().TileLayout()
.Name("tilelayout")
.Gap(gap => gap.Rows(30))
)