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

Defines the fluent API for configuring TileLayoutGapSettings

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

TileLayoutGapSettingsBuilder method.

C#
public TileLayoutGapSettingsBuilder(TileLayoutGapSettings container)
Parameters:containerTileLayoutGapSettings

Properties

Gets the settings being configured.

C#
protected TileLayoutGapSettings Container { get; }

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 for Columns

Returns:

TileLayoutGapSettingsBuilder

Returns the current TileLayoutGapSettingsBuilder instance.

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 for Rows

Returns:

TileLayoutGapSettingsBuilder

Returns the current TileLayoutGapSettingsBuilder instance.

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