Defines the fluent API for configuring ComboBoxPrefixOptionsSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ComboBoxPrefixOptionsSettingsBuilder
Inheritance: objectComboBoxPrefixOptionsSettingsBuilder
Inherited Members
Constructors
ComboBoxPrefixOptionsSettingsBuilder method.
public ComboBoxPrefixOptionsSettingsBuilder(ComboBoxPrefixOptionsSettings container)
Properties
Gets the settings being configured.
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.
public ComboBoxPrefixOptionsSettingsBuilder Icon(Action<ComboBoxPrefixOptionsIconSettingsBuilder> configurator)
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.
public ComboBoxPrefixOptionsSettingsBuilder Icon(string icon)
The icon.
Returns:ComboBoxPrefixOptionsSettingsBuilder
Returns the current instance of ComboBoxPrefixOptionsSettingsBuilder .
If set to false, the prefix adornment will not have a separator.
public ComboBoxPrefixOptionsSettingsBuilder Separator(bool value)
The value for Separator
Returns:ComboBoxPrefixOptionsSettingsBuilder
Returns the current ComboBoxPrefixOptionsSettingsBuilder instance.
The template for the prefix adornment of the component.
public ComboBoxPrefixOptionsSettingsBuilder Template(string value)
The value for Template
Returns:ComboBoxPrefixOptionsSettingsBuilder
Returns the current ComboBoxPrefixOptionsSettingsBuilder instance.
The template for the prefix adornment of the component.
public ComboBoxPrefixOptionsSettingsBuilder Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:ComboBoxPrefixOptionsSettingsBuilder
Returns the current ComboBoxPrefixOptionsSettingsBuilder instance.
The template for the prefix adornment of the component.
public ComboBoxPrefixOptionsSettingsBuilder TemplateHandler(string templateHandler)
The handler that returs the template for Template
Returns:ComboBoxPrefixOptionsSettingsBuilder
Returns the current ComboBoxPrefixOptionsSettingsBuilder instance.
The template for the prefix adornment of the component.
public ComboBoxPrefixOptionsSettingsBuilder TemplateId(string templateId)
The ID of the template element for Template
Returns:ComboBoxPrefixOptionsSettingsBuilder
Returns the current ComboBoxPrefixOptionsSettingsBuilder instance.
The template for the prefix adornment of the component.
public ComboBoxPrefixOptionsSettingsBuilder TemplateView(IHtmlContent templateView)
The view that contains the template for Template
Returns:ComboBoxPrefixOptionsSettingsBuilder
Returns the current ComboBoxPrefixOptionsSettingsBuilder instance.