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