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

Defines the fluent API for configuring TextBoxSuffixOptionsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class TextBoxSuffixOptionsSettingsBuilder<T>

Inheritance: objectTextBoxSuffixOptionsSettingsBuilder<T>

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

Constructors

TextBoxSuffixOptionsSettingsBuilder method.

C#
public TextBoxSuffixOptionsSettingsBuilder(TextBoxSuffixOptionsSettings<T> container)
Parameters:containerTextBoxSuffixOptionsSettings<T>

Properties

Gets or sets the Container.

C#
protected TextBoxSuffixOptionsSettings<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 TextBoxSuffixOptionsSettingsBuilder<T> Icon(Action<TextBoxSuffixOptionsIconSettingsBuilder<T>> configurator)
Parameters:configuratorAction<TextBoxSuffixOptionsIconSettingsBuilder<T>>

The TextBoxSuffixOptionsIconSettingsBuilder<T> for the icon setting.

Returns:

TextBoxSuffixOptionsSettingsBuilder<T>

Returns the current instance of TextBoxSuffixOptionsSettingsBuilder<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 TextBoxSuffixOptionsSettingsBuilder<T> Icon(string icon)
Parameters:iconstring

The icon.

Returns:

TextBoxSuffixOptionsSettingsBuilder<T>

Returns the current instance of TextBoxSuffixOptionsSettingsBuilder<T> .

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

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

The value for Separator

Returns:

TextBoxSuffixOptionsSettingsBuilder<T>

Returns the current TextBoxSuffixOptionsSettingsBuilder<T> instance.

The template for the suffix adornment of the component.

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

The value for Template

Returns:

TextBoxSuffixOptionsSettingsBuilder<T>

Returns the current TextBoxSuffixOptionsSettingsBuilder<T> instance.

The template for the suffix adornment of the component.

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

A Template component that configures the template.

Returns:

TextBoxSuffixOptionsSettingsBuilder<T>

Returns the current TextBoxSuffixOptionsSettingsBuilder<T> instance.

The template for the suffix adornment of the component.

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

The handler that returs the template for Template

Returns:

TextBoxSuffixOptionsSettingsBuilder<T>

Returns the current TextBoxSuffixOptionsSettingsBuilder<T> instance.

The template for the suffix adornment of the component.

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

The ID of the template element for Template

Returns:

TextBoxSuffixOptionsSettingsBuilder<T>

Returns the current TextBoxSuffixOptionsSettingsBuilder<T> instance.

The template for the suffix adornment of the component.

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

The view that contains the template for Template

Returns:

TextBoxSuffixOptionsSettingsBuilder<T>

Returns the current TextBoxSuffixOptionsSettingsBuilder<T> instance.