Loader
Class
Kendo UI Loader component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class Loader : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseLoader
Implements:
Inherited Members
Constructors
Initializes a new instance of the Loader class.
C#
public Loader(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
The view context
initializerIJavaScriptInitializerThe JavaScriptInitializer
urlGeneratorIUrlGeneratorThe URL generator.
Properties
Allows localization of the strings that are used in the widget.
C#
public LoaderMessagesSettings Messages { get; set; }
Defines the size of the loader
C#
public LoaderSize? Size { get; set; }
Defines the theme color of the loader
C#
public LoaderThemeColor? ThemeColor { get; set; }
Defines the type of the loader
C#
public LoaderType? Type { get; set; }
Methods
C#
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
C#
protected override void WriteHtml(HtmlTextWriter writer)
The HtmlTextWriter.
Overrides:
Writes the initialization script.
C#
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: