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

Defines the fluent API for configuring the FilterMessagesSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class FilterMessagesSettingsBuilder<T>

Inheritance: objectFilterMessagesSettingsBuilder<T>

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

Constructors

Initialize the FilterMessagesSettingsBuilder

C#
public FilterMessagesSettingsBuilder(FilterMessagesSettings settings)
Parameters:settingsFilterMessagesSettings

The FilterMessagesSettings

Methods

The title of the add expression button.

C#
public FilterMessagesSettingsBuilder<T> AddExpression(string value)
Parameters:valuestring

The value that configures the addexpression.

Returns:

FilterMessagesSettingsBuilder<T>

The title of the add group button.

C#
public FilterMessagesSettingsBuilder<T> AddGroup(string value)
Parameters:valuestring

The value that configures the addgroup.

Returns:

FilterMessagesSettingsBuilder<T>

The text of the option which represents the "and" logical operation.

C#
public FilterMessagesSettingsBuilder<T> And(string value)
Parameters:valuestring

The value that configures the and.

Returns:

FilterMessagesSettingsBuilder<T>

The text inside the apply button.

C#
public FilterMessagesSettingsBuilder<T> Apply(string value)
Parameters:valuestring

The value that configures the apply.

Returns:

FilterMessagesSettingsBuilder<T>

The title of the close button.

C#
public FilterMessagesSettingsBuilder<T> Close(string value)
Parameters:valuestring

The value that configures the close.

Returns:

FilterMessagesSettingsBuilder<T>

The title of the fields drop down.

C#
public FilterMessagesSettingsBuilder<T> Fields(string value)
Parameters:valuestring

The value that configures the fields.

Returns:

FilterMessagesSettingsBuilder<T>

Example:
C#
@(Html.Kendo().Filter()
.Name("filter")
.Messages(messages =&gt; messages.Fields("CustomFields"))
)

The text that will be used as an aria-label of the filter expression groups.

C#
public FilterMessagesSettingsBuilder<T> FilterExpressionLabel(string value)
Parameters:valuestring

The value that configures the filterexpressionlabel.

Returns:

FilterMessagesSettingsBuilder<T>

The text that will be used as an aria-label of the filter logic toolbars.

C#
public FilterMessagesSettingsBuilder<T> FilterLogicLabel(string value)
Parameters:valuestring

The value that configures the filterlogiclabel.

Returns:

FilterMessagesSettingsBuilder<T>

The text that will be used as an aria-label of the main filter logic toolbar.

C#
public FilterMessagesSettingsBuilder<T> MainFilterLogicLabel(string value)
Parameters:valuestring

The value that configures the mainfilterlogiclabel.

Returns:

FilterMessagesSettingsBuilder<T>

The title of the operators drop down.

C#
public FilterMessagesSettingsBuilder<T> Operators(string value)
Parameters:valuestring

The value that configures the operators.

Returns:

FilterMessagesSettingsBuilder<T>

The text of the option which represents the "or" logical operation.

C#
public FilterMessagesSettingsBuilder<T> Or(string value)
Parameters:valuestring

The value that configures the or.

Returns:

FilterMessagesSettingsBuilder<T>