Defines the fluent API for configuring MaskedTextBoxPrefixOptionsSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class MaskedTextBoxPrefixOptionsSettingsBuilder
Inheritance: objectMaskedTextBoxPrefixOptionsSettingsBuilder
Inherited Members
Constructors
MaskedTextBoxPrefixOptionsSettingsBuilder method.
public MaskedTextBoxPrefixOptionsSettingsBuilder(MaskedTextBoxPrefixOptionsSettings container)
Properties
Gets the settings being configured.
protected MaskedTextBoxPrefixOptionsSettings 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 MaskedTextBoxPrefixOptionsSettingsBuilder Icon(Action<MaskedTextBoxPrefixOptionsIconSettingsBuilder> configurator)
The MaskedTextBoxPrefixOptionsIconSettingsBuilder for the icon setting.
Returns:MaskedTextBoxPrefixOptionsSettingsBuilder
Returns the current instance of MaskedTextBoxPrefixOptionsSettingsBuilder .
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 MaskedTextBoxPrefixOptionsSettingsBuilder Icon(string icon)
The icon.
Returns:MaskedTextBoxPrefixOptionsSettingsBuilder
Returns the current instance of MaskedTextBoxPrefixOptionsSettingsBuilder .
If set to false, the prefix adornment will not have a separator.
public MaskedTextBoxPrefixOptionsSettingsBuilder Separator(bool value)
The value for Separator
Returns:MaskedTextBoxPrefixOptionsSettingsBuilder
Returns the current MaskedTextBoxPrefixOptionsSettingsBuilder instance.
The template for the prefix adornment of the component.
public MaskedTextBoxPrefixOptionsSettingsBuilder Template(string value)
The value for Template
Returns:MaskedTextBoxPrefixOptionsSettingsBuilder
Returns the current MaskedTextBoxPrefixOptionsSettingsBuilder instance.
The template for the prefix adornment of the component.
public MaskedTextBoxPrefixOptionsSettingsBuilder Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:MaskedTextBoxPrefixOptionsSettingsBuilder
Returns the current MaskedTextBoxPrefixOptionsSettingsBuilder instance.
The template for the prefix adornment of the component.
public MaskedTextBoxPrefixOptionsSettingsBuilder TemplateHandler(string templateHandler)
The handler that returs the template for Template
Returns:MaskedTextBoxPrefixOptionsSettingsBuilder
Returns the current MaskedTextBoxPrefixOptionsSettingsBuilder instance.
The template for the prefix adornment of the component.
public MaskedTextBoxPrefixOptionsSettingsBuilder TemplateId(string templateId)
The ID of the template element for Template
Returns:MaskedTextBoxPrefixOptionsSettingsBuilder
Returns the current MaskedTextBoxPrefixOptionsSettingsBuilder instance.
The template for the prefix adornment of the component.
public MaskedTextBoxPrefixOptionsSettingsBuilder TemplateView(IHtmlContent templateView)
The view that contains the template for Template
Returns:MaskedTextBoxPrefixOptionsSettingsBuilder
Returns the current MaskedTextBoxPrefixOptionsSettingsBuilder instance.