[]
Defines a builder to configurate DropDown.
public abstract class DropDownBuilder<TControl, TBuilder> : FormInputBaseBuilder<TControl, TBuilder>, IHtmlString where TControl : DropDown where TBuilder : DropDownBuilder<TControl, TBuilder>
Name | Description |
---|---|
TControl | |
TBuilder |
Name | Description |
---|---|
DropDownBuilder(TControl) | Creates one DropDownBuilder<TControl, TBuilder> instance to configurate |
Name | Description |
---|---|
AutoExpandSelection(bool) | 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(ClickAction) | Configurates ClickAction. Sets a value that specifies the action to perform when the user clicks the input element in the control. |
DropDownCssClass(string) | Configurates DropDownCssClass. Sets a CSS class name to add to the control's drop-down element. |
InputType(string) | Configurates InputType. Sets the "type" attribute of the HTML input element hosted by the control. |
IsAnimated(bool) | Configurates IsAnimated. Sets a value that indicates whether the control should use a fade-in animation when displaying the drop-down. |
IsDroppedDown(bool) | Configurates IsDroppedDown. Sets a value indicating whether the drop down is currently visible. |
IsReadOnly(bool) | Configurates IsReadOnly. Sets a value that indicates whether the user can modify the control value using the mouse and keyboard. |
IsRequired(bool) | Configurates IsRequired. Sets a value indicating whether the control value must be a non-empty string. |
OnClientIsDroppedDownChanged(string) | Configurates the OnClientIsDroppedDownChanged client event. Occurs after the drop down is shown or hidden. |
OnClientIsDroppedDownChanging(string) | Configurates the OnClientIsDroppedDownChanging client event. Occurs before the drop down is shown or hidden. |
OnClientTextChanged(string) | Configurates the OnClientTextChanged client event. Occurs when the value of the Text property changes. |
Placeholder(string) | Configurates Placeholder. Sets the string shown as a hint when the control is empty. |
ShowDropDownButton(bool) | Configurates ShowDropDownButton. Sets a value indicating whether the control should display a drop-down button. |
Text(string) | Configurates Text. Sets the text shown on the control. |