InputGroupDropDownButton
in namespace DotVVM.Framework.Controls.Bootstrap4
Renders a Bootstrap dropdown button which is used in InputGroup.
Usage & Scenarios
A special version of the DropDownButton control that can be used in InputGroup.
See DropDownButton for more info on how to use this control.
Properties
Name | Type | Description | Notes | Default Value | |
---|---|---|---|---|---|
AllowPopupFlip | Boolean | Gets or sets whether the pop-up can flip to a different direction when it does not fit on the page. |
attribute
static value
|
True | |
Attributes | Dictionary<String,Object> |
attribute
static value
|
null | ||
ButtonContentTemplate | ITemplate | Gets or sets the template for the button content. |
inner element
static value
|
null | |
ButtonType | DropDownButtonType | Gets or sets the type of the button. |
attribute
static value
|
Button | |
ClientIDMode | ClientIDMode | Gets or sets the client ID generation algorithm. |
attribute
static value
|
Static | |
DataContext | Object | Gets or sets a data context for the control and its children. All value and command bindings are evaluated in context of this value. |
attribute
bindable
|
null | |
DataSource | Object | Gets or sets the source collection or a GridViewDataSet that contains data in the control. |
attribute
bindable
|
null | |
DropDirection | DropDirection | Gets or sets the pop-up direction. |
attribute
static value
bindable
|
DropDown | |
ID | String | Gets or sets the unique control ID. |
attribute
static value
bindable
|
null | |
IncludeInPage | Boolean | Gets or sets whether the control is included in the DOM of the page. |
attribute
bindable
|
True | |
InnerText | String | Gets or sets the inner text of the HTML element. |
attribute
static value
bindable
|
null | |
IsCollapsed | Boolean | Gets or sets whether the button is collapsed or not. |
attribute
bindable
|
True | |
IsEnabledBinding | IValueBinding | Gets or sets a value binding that points to a property indicating whether the item is disabled or not. |
attribute
bindable
|
null | |
IsSelectedBinding | IValueBinding | Gets or sets a value binding that points to a property indicating whether the item is selected or not. |
attribute
bindable
|
null | |
Items | List<IDropDownButtonItem> | Gets or sets a collection of items that is used when no DataSource is set. |
inner element
static value
default
|
null | |
ItemsContentTemplate | ITemplate | Gets or sets the template for contents of the generated items when using the DataSource property. |
inner element
static value
|
null | |
MenuAlignment | DropdownMenuAlignment | Gets or sets whether the pop-up will be aligned to the right of the button. |
attribute
static value
|
Default | |
NavigateUrlBinding | IValueBinding | Gets or sets the value binding that points to a property which will be navigated to when the item is clicked. |
attribute
bindable
|
null | |
Size | Size | Gets or sets the size of the button. |
attribute
static value
bindable
|
Default | |
Text | String | Gets or sets the button text. |
attribute
static value
bindable
|
||
TextBinding | IValueBinding | Gets or sets the value binding that points to a property which will be used as the text of the item. |
attribute
bindable
|
null | |
Type | BootstrapButtonColor | Gets or sets the color of the button. |
attribute
static value
bindable
|
Primary | |
Visible | Boolean | Gets or sets whether the control is visible. |
attribute
bindable
|
True | |
VisualStyle | ButtonVisualStyle | Gets or sets whether the button has solid fill, or whether it is only an outline. |
attribute
static value
bindable
|
SolidFill |
Events
Name | Type | Description | |
---|---|---|---|
ClickBinding | ICommandBinding | Gets or sets a binding which defines a click action for button items. |