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