[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.DropDownTagHelper-2

DropDownTagHelper<T, TControl> Class

ITagHelper implementation for DropDown<T>.

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

Constructors

Name Description
DropDownTagHelper()

Properties

Name Description
AutoExpandSelection

Configurates AutoExpandSelection. Sets a value that indicates whether the control should automatically expand the selection to whole words/numbers when the control is clicked.

ClickAction

Configurates ClickAction. Sets a value that specifies the action to perform when the user clicks the input element in the control.

DropDownCssClass

Configurates DropDownCssClass. Sets a CSS class name to add to the control's drop-down element.

InputType

Configurates InputType. Sets the "type" attribute of the HTML input element hosted by the control.

IsAnimated

Configurates IsAnimated. Sets a value that indicates whether the control should use a fade-in animation when displaying the drop-down.

IsDroppedDown

Configurates IsDroppedDown. Sets a value indicating whether the drop down is currently visible.

IsDroppedDownChanged

Configurates the OnClientIsDroppedDownChanged client event. Occurs after the drop down is shown or hidden.

IsDroppedDownChanging

Configurates the OnClientIsDroppedDownChanging client event. Occurs before the drop down is shown or hidden.

IsReadOnly

Configurates IsReadOnly. Sets a value that indicates whether the user can modify the control value using the mouse and keyboard.

IsRequired

Configurates IsRequired. Sets a value indicating whether the control value must be a non-empty string.

Placeholder

Configurates Placeholder. Sets the string shown as a hint when the control is empty.

ShowDropDownButton

Configurates ShowDropDownButton. Sets a value indicating whether the control should display a drop-down button.

Text

Configurates Text. Sets the text shown on the control.

TextChanged

Configurates the OnClientTextChanged client event. Occurs when the value of the Text property changes.