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

Defines the fluent API for configuring NumericTextBoxPrefixOptionsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class NumericTextBoxPrefixOptionsSettingsBuilder<T> where T : struct

Inheritance: objectNumericTextBoxPrefixOptionsSettingsBuilder<T>

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

Constructors

NumericTextBoxPrefixOptionsSettingsBuilder method.

C#
public NumericTextBoxPrefixOptionsSettingsBuilder(NumericTextBoxPrefixOptionsSettings<T> container)
Parameters:containerNumericTextBoxPrefixOptionsSettings<T>

Properties

Gets or sets the Container.

C#
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.

C#
public NumericTextBoxPrefixOptionsSettingsBuilder<T> Icon(Action<NumericTextBoxPrefixOptionsIconSettingsBuilder<T>> configurator)
Parameters:configuratorAction<NumericTextBoxPrefixOptionsIconSettingsBuilder<T>>

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.

C#
public NumericTextBoxPrefixOptionsSettingsBuilder<T> Icon(string icon)
Parameters:iconstring

The icon.

Returns:

NumericTextBoxPrefixOptionsSettingsBuilder<T>

Returns the current instance of NumericTextBoxPrefixOptionsSettingsBuilder<T> .

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

C#
public NumericTextBoxPrefixOptionsSettingsBuilder<T> Separator(bool value)
Parameters:valuebool

The value for Separator

Returns:

NumericTextBoxPrefixOptionsSettingsBuilder<T>

Returns the current NumericTextBoxPrefixOptionsSettingsBuilder<T> instance.

The template for the prefix adornment of the component.

C#
public NumericTextBoxPrefixOptionsSettingsBuilder<T> Template(string value)
Parameters:valuestring

The value for Template

Returns:

NumericTextBoxPrefixOptionsSettingsBuilder<T>

Returns the current NumericTextBoxPrefixOptionsSettingsBuilder<T> instance.

The template for the prefix adornment of the component.

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

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.

C#
public NumericTextBoxPrefixOptionsSettingsBuilder<T> TemplateHandler(string templateHandler)
Parameters:templateHandlerstring

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.

C#
public NumericTextBoxPrefixOptionsSettingsBuilder<T> TemplateId(string templateId)
Parameters:templateIdstring

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.

C#
public NumericTextBoxPrefixOptionsSettingsBuilder<T> TemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template for Template

Returns:

NumericTextBoxPrefixOptionsSettingsBuilder<T>

Returns the current NumericTextBoxPrefixOptionsSettingsBuilder<T> instance.