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

Defines the fluent API for configuring the FilterField settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class FilterField<T> : JsonObject

Inheritance: objectJsonObjectFilterField<T>

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

Constructors

Initialization for the FilterField

C#
public FilterField()

Properties

A value which will be initially set as a filter value when an expression item for the specific field is created.

C#
public object DefaultValue { get; set; }

The template which the widget will use to create the field editor.

C#
public string EditorTemplate { get; set; }
C#
public ClientHandlerDescriptor EditorTemplateHandler { get; set; }

The id for the EditorTemplate

C#
public string EditorTemplateId { get; set; }

Defines a value which will be visualized instead of the data feild name.

C#
public string Label { get; set; }

A value matching a field name from the datasource model.

C#
public string Name { get; set; }

The text of the filter operators displayed in the filter.

C#
public FilterOperatorsSettings Operators { get; set; }

The format of the displayed in the preview value.

C#
public string PreviewFormat { get; set; }

Defines the value type of the field.

C#
public string Type { get; set; }

Methods

Serialize current instance to Dictionary

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)