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

Defines the fluent API for configuring SkeletonContainerGridSettingsItem

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

SkeletonContainerGridSettingsItemBuilder method.

C#
public SkeletonContainerGridSettingsItemBuilder(SkeletonContainerGridSettingsItem container)
Parameters:containerSkeletonContainerGridSettingsItem

Properties

Gets the settings being configured.

C#
protected SkeletonContainerGridSettingsItem Container { get; }

Methods

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

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

The value for ColSpan

Returns:

SkeletonContainerGridSettingsItemBuilder

Returns the current SkeletonContainerGridSettingsItemBuilder instance.

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);
});
})
)

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

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

The value for ColStart

Returns:

SkeletonContainerGridSettingsItemBuilder

Returns the current SkeletonContainerGridSettingsItemBuilder instance.

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);
});
})
)

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

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

The value for RowSpan

Returns:

SkeletonContainerGridSettingsItemBuilder

Returns the current SkeletonContainerGridSettingsItemBuilder instance.

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);
});
})
)

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

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

The value for RowStart

Returns:

SkeletonContainerGridSettingsItemBuilder

Returns the current SkeletonContainerGridSettingsItemBuilder instance.

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 value for Shape

Returns:

SkeletonContainerGridSettingsItemBuilder

Returns the current SkeletonContainerGridSettingsItemBuilder instance.

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);
});
})
)