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

Defines the fluent API for configuring ComboBoxPrefixOptionsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ComboBoxPrefixOptionsSettingsBuilder

Inheritance: objectComboBoxPrefixOptionsSettingsBuilder

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

Constructors

ComboBoxPrefixOptionsSettingsBuilder method.

C#
public ComboBoxPrefixOptionsSettingsBuilder(ComboBoxPrefixOptionsSettings container)
Parameters:containerComboBoxPrefixOptionsSettings

Properties

Gets the settings being configured.

C#
protected ComboBoxPrefixOptionsSettings Container { get; }

Methods

Defines the name for an existing icon in a Kendo UI theme or SVG content.Set 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 ComboBoxPrefixOptionsSettingsBuilder Icon(Action<ComboBoxPrefixOptionsIconSettingsBuilder> configurator)
Parameters:configuratorAction<ComboBoxPrefixOptionsIconSettingsBuilder>

The ComboBoxPrefixOptionsIconSettingsBuilder for the icon setting.

Returns:

ComboBoxPrefixOptionsSettingsBuilder

Returns the current instance of ComboBoxPrefixOptionsSettingsBuilder .

Defines the name for an existing icon in a Kendo UI theme or SVG content.Set 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 ComboBoxPrefixOptionsSettingsBuilder Icon(string icon)
Parameters:iconstring

The icon.

Returns:

ComboBoxPrefixOptionsSettingsBuilder

Returns the current instance of ComboBoxPrefixOptionsSettingsBuilder .

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

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

The value for Separator

Returns:

ComboBoxPrefixOptionsSettingsBuilder

Returns the current ComboBoxPrefixOptionsSettingsBuilder instance.

The template for the prefix adornment of the component.

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

The value for Template

Returns:

ComboBoxPrefixOptionsSettingsBuilder

Returns the current ComboBoxPrefixOptionsSettingsBuilder instance.

The template for the prefix adornment of the component.

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

A Template component that configures the template.

Returns:

ComboBoxPrefixOptionsSettingsBuilder

Returns the current ComboBoxPrefixOptionsSettingsBuilder instance.

The template for the prefix adornment of the component.

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

The handler that returs the template for Template

Returns:

ComboBoxPrefixOptionsSettingsBuilder

Returns the current ComboBoxPrefixOptionsSettingsBuilder instance.

The template for the prefix adornment of the component.

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

The ID of the template element for Template

Returns:

ComboBoxPrefixOptionsSettingsBuilder

Returns the current ComboBoxPrefixOptionsSettingsBuilder instance.

The template for the prefix adornment of the component.

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

The view that contains the template for Template

Returns:

ComboBoxPrefixOptionsSettingsBuilder

Returns the current ComboBoxPrefixOptionsSettingsBuilder instance.