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

Defines the fluent API for configuring the SkeletonContainerGridSettingsItem settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SkeletonContainerGridSettingsItemBuilder

Inheritance: objectSkeletonContainerGridSettingsItemBuilder

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

Constructors

C#
public SkeletonContainerGridSettingsItemBuilder(SkeletonContainerGridSettingsItem settings)
Parameters:settingsSkeletonContainerGridSettingsItem

The SkeletonContainerGridSettingsItem

Methods

Defines how many columns will the item span.

C#
public SkeletonContainerGridSettingsItemBuilder ColSpan(double value)
Parameters:valuedouble

The value that configures the item span.

Returns:

SkeletonContainerGridSettingsItemBuilder

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

Defines the start position of the item on the column axis.

C#
public SkeletonContainerGridSettingsItemBuilder ColStart(double value)
Parameters:valuedouble

The value that configures the start position.

Returns:

SkeletonContainerGridSettingsItemBuilder

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

Defines how many rows will the item span.

C#
public SkeletonContainerGridSettingsItemBuilder RowSpan(double value)
Parameters:valuedouble

The value that configures the item span.

Returns:

SkeletonContainerGridSettingsItemBuilder

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

Defines the start position of the item on the row axis.

C#
public SkeletonContainerGridSettingsItemBuilder RowStart(double value)
Parameters:valuedouble

The value that configures the start position.

Returns:

SkeletonContainerGridSettingsItemBuilder

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

Determines the shape of the item.

C#
public SkeletonContainerGridSettingsItemBuilder Shape(SkeletonContainerItemShape value)
Parameters:valueSkeletonContainerItemShape

The enum value that configures the shape.

Returns:

SkeletonContainerGridSettingsItemBuilder

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