Version: 2.0 |

InputGroupComboBox

in namespace DotVVM.Framework.Controls.Bootstrap4

Extends the builtin ComboBox control to allow applying Bootstrap CSS classes of Select menu control and allows usage in InputGroup.

Properties

Name Type Description Notes Default Value
DataSource Object Gets or sets the source collection or a GridViewDataSet that contains data in the control.
attribute
inner element
static value
bindable
default
EmptyItemText String Text displayed when no value is selected.
attribute
inner element
static value
bindable
default
Enabled Boolean Gets or sets a value indicating whether the control is enabled and can be modified.
attribute
inner element
static value
bindable
default
False
FormControlStyle BootstrapFormStyle Gets or sets the Bootstrap form style of the control.
attribute
inner element
static value
bindable
default
Default
ItemTextBinding IValueBinding The expression of DataSource item that will be displayed in the control.
attribute
inner element
static value
bindable
default
ItemTitleBinding IValueBinding The expression of DataSource item that will be placed into html title attribute.
attribute
inner element
static value
bindable
default
ItemValueBinding IValueBinding The expression of DataSource item that will be passed to the SelectedValue property when the item is selected.
attribute
inner element
static value
bindable
default
SelectedValue Object Gets or sets the value of the selected item.
attribute
inner element
static value
bindable
default
Size Size Gets or sets the size of the ComboBox.
attribute
inner element
static value
bindable
default
Default

Events

Name Type Description
SelectionChanged Command Gets or sets the command that will be triggered when the selection is changed.

Usage & Scenarios

A special version of the ComboBox control that can be used in InputGroup.

See ComboBox for more info on how to use this control.

https://getbootstrap.com/docs/4.1/components/input-group/

HTML Rendered by the Control

Suggestions


Help & Contribute

The documentation is maintained on GitHub.
We'll be happy if you edit the page and create a pull request.

Send message