SkeletonContainerGridSettingsItemBuilder
Methods
ColStart(System.Double)
Defines the start position of the item on the column axis.
Parameters
value - System.Double
The value that configures the start position.
Example
@(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)
Defines how many columns will the item span.
Parameters
value - System.Double
The value that configures the item span.
Example
@(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)
Defines the start position of the item on the row axis.
Parameters
value - System.Double
The value that configures the start position.
Example
@(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)
Defines how many rows will the item span.
Parameters
value - System.Double
The value that configures the item span.
Example
@(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 enum value that configures the shape.
Example
@(Html.Kendo().SkeletonContainer()
.Name("skeleton")
.Grid(grid => {
grid.Items(i=> {
i.Add().ColStart(1).ColSpan(1).RowStart(1).RowSpan(1).Shape(SkeletonContainerItemShape.Rectangle);
});
})
)