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

Defines the fluent API for configuring TextAreaPrefixOptionsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class TextAreaPrefixOptionsSettingsBuilder

Inheritance: objectTextAreaPrefixOptionsSettingsBuilder

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

Constructors

TextAreaPrefixOptionsSettingsBuilder method.

C#
public TextAreaPrefixOptionsSettingsBuilder(TextAreaPrefixOptionsSettings container)
Parameters:containerTextAreaPrefixOptionsSettings

Properties

Gets the settings being configured.

C#
protected TextAreaPrefixOptionsSettings 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 TextAreaPrefixOptionsSettingsBuilder Icon(Action<TextAreaPrefixOptionsIconSettingsBuilder> configurator)
Parameters:configuratorAction<TextAreaPrefixOptionsIconSettingsBuilder>

The TextAreaPrefixOptionsIconSettingsBuilder for the icon setting.

Returns:

TextAreaPrefixOptionsSettingsBuilder

Returns the current instance of TextAreaPrefixOptionsSettingsBuilder .

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 TextAreaPrefixOptionsSettingsBuilder Icon(string icon)
Parameters:iconstring

The icon.

Returns:

TextAreaPrefixOptionsSettingsBuilder

Returns the current instance of TextAreaPrefixOptionsSettingsBuilder .

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

C#
public TextAreaPrefixOptionsSettingsBuilder Separator(bool value)
Parameters:valuebool

The value for Separator

Returns:

TextAreaPrefixOptionsSettingsBuilder

Returns the current TextAreaPrefixOptionsSettingsBuilder instance.

The template for the prefix adornment of the component.

C#
public TextAreaPrefixOptionsSettingsBuilder Template(string value)
Parameters:valuestring

The value for Template

Returns:

TextAreaPrefixOptionsSettingsBuilder

Returns the current TextAreaPrefixOptionsSettingsBuilder instance.

The template for the prefix adornment of the component.

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

A Template component that configures the template.

Returns:

TextAreaPrefixOptionsSettingsBuilder

Returns the current TextAreaPrefixOptionsSettingsBuilder instance.

The template for the prefix adornment of the component.

C#
public TextAreaPrefixOptionsSettingsBuilder TemplateHandler(string templateHandler)
Parameters:templateHandlerstring

The handler that returs the template for Template

Returns:

TextAreaPrefixOptionsSettingsBuilder

Returns the current TextAreaPrefixOptionsSettingsBuilder instance.

The template for the prefix adornment of the component.

C#
public TextAreaPrefixOptionsSettingsBuilder TemplateId(string templateId)
Parameters:templateIdstring

The ID of the template element for Template

Returns:

TextAreaPrefixOptionsSettingsBuilder

Returns the current TextAreaPrefixOptionsSettingsBuilder instance.

The template for the prefix adornment of the component.

C#
public TextAreaPrefixOptionsSettingsBuilder TemplateView(IHtmlContent templateView)
Parameters:templateViewIHtmlContent

The view that contains the template for Template

Returns:

TextAreaPrefixOptionsSettingsBuilder

Returns the current TextAreaPrefixOptionsSettingsBuilder instance.