SkeletonContainerGridSettingsBuilder

Methods

Columns(System.Double)

Defines the number of columns.

Parameters

value - System.Double

The value for Columns

RETURNS

Returns the current SkeletonContainerGridSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().SkeletonContainer()
                .Name("skeleton")
                .Grid(grid => {
                    grid.Columns(4);
                })
            )
             

Gap(System.Action)

An object holding values that determine the spacing between the skeleton items horizontally and vertically.

Parameters

configurator - System.Action<SkeletonContainerGridGapSettingsBuilder>

The configurator for the gap setting.

RETURNS

Returns the current instance of SkeletonContainerGridSettingsBuilder .

Items(System.Action)

An array with objects representing the settings of the component items.

Parameters

configurator - System.Action<SkeletonContainerGridSettingsItemFactory>

The configurator for the items setting.

RETURNS

Returns the current instance of SkeletonContainerGridSettingsBuilder .

Rows(System.Double)

Defines the number of rows.

Parameters

value - System.Double

The value for Rows

RETURNS

Returns the current SkeletonContainerGridSettingsBuilder instance.

Example

Razor
 
            @(Html.Kendo().SkeletonContainer()
                .Name("skeleton")
                .Grid(grid => {
                    grid.Rows(4);
                })
            )