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

Kendo UI SkeletonContainer component

Definition

Constructors

Initializes a new instance of the SkeletonContainer class.

C#
public SkeletonContainer(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
Parameters:viewContextViewContext

The view context

initializerIJavaScriptInitializer

The JavaScriptInitializer

urlGeneratorIUrlGenerator

The URL generator.

Properties

Determines whether the items will be animated

C#
public SkeletonContainerAnimation? Animation { get; set; }

Defines the settings for the CSS Grid used for layouting the skeleton shapes.

C#
public SkeletonContainerGridSettings Grid { get; set; }

Determines the height of the component. Numeric values are treated as pixels.

C#
public string Height { get; set; }

Defines a template that will be used to visualize the skeleton shapes. If both grid and template are defined the grid takes precedence.

C#
public string Template { get; set; }

The handler for the Template

C#
public string TemplateHandler { get; set; }

The id for the Template

C#
public string TemplateId { get; set; }

Determines the width of the component. Numeric values are treated as pixels.

C#
public string Width { get; set; }

Methods

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

Overrides: WidgetBase.Serialize()

Writes the HTML.

C#
protected override void WriteHtml(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

The HtmlTextWriter.

Overrides: WidgetBase.WriteHtml(HtmlTextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)