[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.AutoCompleteBaseTagHelper-2

AutoCompleteBaseTagHelper<T, TControl> Class

ITagHelper implementation for AutoCompleteBase<T>.

Inheritance
BaseTagHelper<TControl>
DropDownTagHelper<T, TControl>
AutoCompleteBaseTagHelper<T, TControl>
Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
public abstract class AutoCompleteBaseTagHelper<T, TControl> : ComboBoxBaseTagHelper<T, TControl>, ITagHelper, ITagHelperComponent, ITemplateTagHelper where TControl : AutoCompleteBase<T>
Type Parameters
Name Description
T
TControl

Constructors

Name Description
AutoCompleteBaseTagHelper()

Properties

Name Description
BeginsWithSearch

Configurates BeginsWithSearch. Sets a value that determines whether to search for items that begin with the given search term. The default value for this property is False, which causes the control to search for items that contain the given search terms.

CssMatch

Configurates CssMatch. Sets the name of the CSS class used to highlight any parts of the content that match the search terms.

Delay

Configurates Delay. Sets the delay, in milliseconds, between when a keystroke occurs and when the search is performed.

For

An expression to be evaluated against the current model.

ItemsSourceAction

Configurates ItemsSourceAction. Sets the action name for data.

ItemsSourceFunction

Configurates ItemsSourceFunction. Sets a function that provides list items dynamically as the user types.

MaxItems

Configurates MaxItems. Sets the maximum number of items to display in the drop-down list.

MinLength

Configurates MinLength. Sets the minimum input length to trigger autocomplete suggestions.

Name

Configurates Name. Sets the name of the control element.

SearchMemberPath

Configurates SearchMemberPath. Sets a string containing a comma-separated list of properties to use when searching for items.

Methods

Name Description
Render(TagHelperOutput)

Render the startup scripts.