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

Defines the fluent API for configuring TreeListMessagesSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class TreeListMessagesSettingsBuilder<T> where T : class

Inheritance: objectTreeListMessagesSettingsBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the TreeListMessagesSettingsBuilder<T> class.

C#
public TreeListMessagesSettingsBuilder(TreeListMessagesSettings<T> container)
Parameters:containerTreeListMessagesSettings<T>

The TreeListMessagesSettingsBuilder container.

Properties

Gets the container of the TreeListMessagesSettingsBuilder

C#
protected TreeListMessagesSettings<T> Container { get; }

Methods

Defines the text for the command buttons that are used across the widget.

C#
public TreeListMessagesSettingsBuilder<T> Commands(Action<TreeListMessagesCommandsSettingsBuilder<T>> configurator)
Parameters:configuratorAction<TreeListMessagesCommandsSettingsBuilder<T>>

The TreeListMessagesCommandsSettingsBuilder<T> for the commands setting.

Returns:

TreeListMessagesSettingsBuilder<T>

Returns the current instance of TreeListMessagesSettingsBuilder<T> .

Defines the text of the Loading... message when the widget loads its root-level items.

C#
public TreeListMessagesSettingsBuilder<T> Loading(string value)
Parameters:valuestring

The value for Loading

Returns:

TreeListMessagesSettingsBuilder<T>

Returns the current TreeListMessagesSettingsBuilder<T> instance.

Defines the text of No records to display message when the widget does not show any items.

C#
public TreeListMessagesSettingsBuilder<T> NoRows(string value)
Parameters:valuestring

The value for NoRows

Returns:

TreeListMessagesSettingsBuilder<T>

Returns the current TreeListMessagesSettingsBuilder<T> instance.

Defines the text of Request failed message when the widget fails to load its root-level items.

C#
public TreeListMessagesSettingsBuilder<T> RequestFailed(string value)
Parameters:valuestring

The value for RequestFailed

Returns:

TreeListMessagesSettingsBuilder<T>

Returns the current TreeListMessagesSettingsBuilder<T> instance.

Defines the text of Retry message for the button which triggers the reloading of the TreeList root-level items.

C#
public TreeListMessagesSettingsBuilder<T> Retry(string value)
Parameters:valuestring

The value for Retry

Returns:

TreeListMessagesSettingsBuilder<T>

Returns the current TreeListMessagesSettingsBuilder<T> instance.