SkeletonContainerGridSettingsItemBuilder

Methods

ColStart(System.Double)

A value that determines the start position of the item on the column axis.

Parameters

value - System.Double

The value for ColStart

RETURNS

Returns the current SkeletonContainerGridSettingsItemBuilder instance.

Example

Razor
 
            @(Html.Kendo().SkeletonContainer()
                .Name("skeleton")
                .Grid(grid => {
                    grid.Items(i=> {
                        i.Add().ColStart(1).ColSpan(1).RowStart(1).RowSpan(1).Shape(SkeletonContainerItemShape.Rectangle);
                    });
                })
            )
             

ColSpan(System.Double)

A value that determines how many columns will the item span.

Parameters

value - System.Double

The value for ColSpan

RETURNS

Returns the current SkeletonContainerGridSettingsItemBuilder instance.

Example

Razor
 
            @(Html.Kendo().SkeletonContainer()
                .Name("skeleton")
                .Grid(grid => {
                    grid.Items(i=> {
                        i.Add().ColStart(1).ColSpan(1).RowStart(1).RowSpan(1).Shape(SkeletonContainerItemShape.Rectangle);
                    });
                })
            )
             

RowStart(System.Double)

A value that determines the start position of the item on the row axis.

Parameters

value - System.Double

The value for RowStart

RETURNS

Returns the current SkeletonContainerGridSettingsItemBuilder instance.

Example

Razor
 
            @(Html.Kendo().SkeletonContainer()
                .Name("skeleton")
                .Grid(grid => {
                    grid.Items(i=> {
                        i.Add().ColStart(1).ColSpan(1).RowStart(1).RowSpan(1).Shape(SkeletonContainerItemShape.Rectangle);
                    });
                })
            )
             

RowSpan(System.Double)

A value that determines how many rows will the item span.

Parameters

value - System.Double

The value for RowSpan

RETURNS

Returns the current SkeletonContainerGridSettingsItemBuilder instance.

Example

Razor
 
            @(Html.Kendo().SkeletonContainer()
                .Name("skeleton")
                .Grid(grid => {
                    grid.Items(i=> {
                        i.Add().ColStart(1).ColSpan(1).RowStart(1).RowSpan(1).Shape(SkeletonContainerItemShape.Rectangle);
                    });
                })
            )
             

Shape(Kendo.Mvc.UI.SkeletonContainerItemShape)

Determines the shape of the item

Parameters

value - SkeletonContainerItemShape

The value for Shape

RETURNS

Returns the current SkeletonContainerGridSettingsItemBuilder instance.

Example

Razor
 
            @(Html.Kendo().SkeletonContainer()
                .Name("skeleton")
                .Grid(grid => {
                    grid.Items(i=> {
                        i.Add().ColStart(1).ColSpan(1).RowStart(1).RowSpan(1).Shape(SkeletonContainerItemShape.Rectangle);
                    });
                })
            )