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

Defines the fluent API for configuring the TextBoxPrefixOptionsSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PrefixOptionsSettingsBuilder

Inheritance: objectPrefixOptionsSettingsBuilder

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

Constructors

C#
public PrefixOptionsSettingsBuilder(PrefixOptionsSettings settings)
Parameters:settingsPrefixOptionsSettings

The PrefixOptionsSettings

Methods

Defines the name for an existing icon in a Kendo UI theme or SVG content

C#
public PrefixOptionsSettingsBuilder Icon(string value)
Parameters:valuestring

The value that configures the icon.

Returns:

PrefixOptionsSettingsBuilder

If set to false, the prefix adornment will not have a separator.

C#
public PrefixOptionsSettingsBuilder Separator(bool value)
Parameters:valuebool

The value that configures the separator.

Returns:

PrefixOptionsSettingsBuilder

The template for the prefix adornment of the widget.

C#
public PrefixOptionsSettingsBuilder Template(string value)
Parameters:valuestring

The value that configures the template.

Returns:

PrefixOptionsSettingsBuilder

The template for the prefix adornment of the widget.

C#
public PrefixOptionsSettingsBuilder Template<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the template.

Returns:

PrefixOptionsSettingsBuilder

The template for the prefix adornment of the widget.

C#
public PrefixOptionsSettingsBuilder TemplateHandler(string value)
Parameters:valuestring

The value that configures the template.

Returns:

PrefixOptionsSettingsBuilder

The template for the prefix adornment of the widget.

C#
public PrefixOptionsSettingsBuilder TemplateId(string value)
Parameters:valuestring

The value that configures the template.

Returns:

PrefixOptionsSettingsBuilder

The template for the prefix adornment of the widget.

C#
public PrefixOptionsSettingsBuilder TemplateView(MvcHtmlString value)
Parameters:valueMvcHtmlString

The value that configures the template.

Returns:

PrefixOptionsSettingsBuilder