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

Defines the fluent API for configuring the SkeletonContainerGridSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SkeletonContainerGridSettingsBuilder

Inheritance: objectSkeletonContainerGridSettingsBuilder

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

Constructors

C#
public SkeletonContainerGridSettingsBuilder(SkeletonContainerGridSettings settings)
Parameters:settingsSkeletonContainerGridSettings

The SkeletonContainerGridSettings

Methods

Defines the number of grid columns.

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

The value that configures the columns.

Returns:

SkeletonContainerGridSettingsBuilder

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

Defines the horizontal and vertical spacing between the skeleton items.

C#
public SkeletonContainerGridSettingsBuilder Gap(Action<SkeletonContainerGridGapSettingsBuilder> configurator)
Parameters:configuratorAction<SkeletonContainerGridGapSettingsBuilder>

The action that configures the gap settings.

Returns:

SkeletonContainerGridSettingsBuilder

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

Defines the settings of the grid items.

C#
public SkeletonContainerGridSettingsBuilder Items(Action<SkeletonContainerGridSettingsItemFactory> configurator)
Parameters:configuratorAction<SkeletonContainerGridSettingsItemFactory>

The action that configures the items.

Returns:

SkeletonContainerGridSettingsBuilder

Defines the number of grid rows.

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

The value that configures the rows.

Returns:

SkeletonContainerGridSettingsBuilder

Example:
C#
@(Html.Kendo().SkeletonContainer()
.Name("skeleton")
.Grid(grid =&gt; {
grid.Rows(4);
})
)