Defines the fluent API for configuring TextBoxPrefixOptionsSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class TextBoxPrefixOptionsSettingsBuilder<T>
Inheritance: objectTextBoxPrefixOptionsSettingsBuilder<T>
Inherited Members
Constructors
TextBoxPrefixOptionsSettingsBuilder method.
public TextBoxPrefixOptionsSettingsBuilder(TextBoxPrefixOptionsSettings<T> container)
Properties
Gets or sets the Container.
protected TextBoxPrefixOptionsSettings<T> Container { get; }
Methods
Defines the name for an existing icon in a Kendo UI theme or SVG contentSet this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public TextBoxPrefixOptionsSettingsBuilder<T> Icon(Action<TextBoxPrefixOptionsIconSettingsBuilder<T>> configurator)
The TextBoxPrefixOptionsIconSettingsBuilder<T> for the icon setting.
Returns:TextBoxPrefixOptionsSettingsBuilder<T>
Returns the current instance of TextBoxPrefixOptionsSettingsBuilder<T> .
Defines the name for an existing icon in a Kendo UI theme or SVG contentSet this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public TextBoxPrefixOptionsSettingsBuilder<T> Icon(string icon)
The icon.
Returns:TextBoxPrefixOptionsSettingsBuilder<T>
Returns the current instance of TextBoxPrefixOptionsSettingsBuilder<T> .
If set to false, the prefix adornment will not have a separator.
public TextBoxPrefixOptionsSettingsBuilder<T> Separator(bool value)
The value for Separator
Returns:TextBoxPrefixOptionsSettingsBuilder<T>
Returns the current TextBoxPrefixOptionsSettingsBuilder<T> instance.
The template for the prefix adornment of the component.
public TextBoxPrefixOptionsSettingsBuilder<T> Template(string value)
The value for Template
Returns:TextBoxPrefixOptionsSettingsBuilder<T>
Returns the current TextBoxPrefixOptionsSettingsBuilder<T> instance.
The template for the prefix adornment of the component.
public TextBoxPrefixOptionsSettingsBuilder<T> Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:TextBoxPrefixOptionsSettingsBuilder<T>
Returns the current TextBoxPrefixOptionsSettingsBuilder<T> instance.
The template for the prefix adornment of the component.
public TextBoxPrefixOptionsSettingsBuilder<T> TemplateHandler(string templateHandler)
The handler that returs the template for Template
Returns:TextBoxPrefixOptionsSettingsBuilder<T>
Returns the current TextBoxPrefixOptionsSettingsBuilder<T> instance.
The template for the prefix adornment of the component.
public TextBoxPrefixOptionsSettingsBuilder<T> TemplateId(string templateId)
The ID of the template element for Template
Returns:TextBoxPrefixOptionsSettingsBuilder<T>
Returns the current TextBoxPrefixOptionsSettingsBuilder<T> instance.
The template for the prefix adornment of the component.
public TextBoxPrefixOptionsSettingsBuilder<T> TemplateView(IHtmlContent templateView)
The view that contains the template for Template
Returns:TextBoxPrefixOptionsSettingsBuilder<T>
Returns the current TextBoxPrefixOptionsSettingsBuilder<T> instance.