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

Defines the fluent API for configuring SkeletonContainerGridGapSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SkeletonContainerGridGapSettingsBuilder

Inheritance: objectSkeletonContainerGridGapSettingsBuilder

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

Constructors

SkeletonContainerGridGapSettingsBuilder method.

C#
public SkeletonContainerGridGapSettingsBuilder(SkeletonContainerGridGapSettings container)
Parameters:containerSkeletonContainerGridGapSettings

Properties

Gets the settings being configured.

C#
protected SkeletonContainerGridGapSettings Container { get; }

Methods

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

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

The value for Columns

Returns:

SkeletonContainerGridGapSettingsBuilder

Returns the current SkeletonContainerGridGapSettingsBuilder instance.

Example:
C#
@(Html.Kendo().SkeletonContainer()
.Name("skeleton")
.Grid(grid => {
grid.Gap(gap => gap.Columns(20));
})
)

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

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

The value for Rows

Returns:

SkeletonContainerGridGapSettingsBuilder

Returns the current SkeletonContainerGridGapSettingsBuilder instance.

Example:
C#
@(Html.Kendo().SkeletonContainer()
.Name("skeleton")
.Grid(grid => {
grid.Gap(gap => gap.Rows(20));
})
)