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

Loader

Class

Kendo UI Loader component

Definition

Constructors

Initializes a new instance of the Loader class.

C#
public Loader(ViewContext viewContext)
Parameters:viewContextViewContext

Properties

Allows localization of the strings that are used in the widget.

C#
public LoaderMessagesSettings Messages { get; }

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

If set to false the loader will not be displayed.

C#
public bool? Visible { get; set; }

Methods

Serializes the component settings to a dictionary.

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

IDictionary<string, object>

A dictionary of settings.

Overrides: WidgetBase.Serialize()

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

Writes the HTML.

C#
protected override void WriteHtml(TextWriter writer)
Parameters:writerTextWriter

Overrides: WidgetBase.WriteHtml(TextWriter)

Writes the initialization script.

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

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)