Version: 2.0 |

InputGroupDropDownButton

in namespace DotVVM.Framework.Controls.Bootstrap4

Renders a Bootstrap dropdown button which is used in InputGroup.

Properties

Name Type Description Notes Default Value
AllowPopupFlip Boolean Gets or sets whether the popup can flip to a different direction when it does not fit on the page.
attribute
inner element
static value
bindable
default
True
ButtonContentTemplate ITemplate Gets or sets the template for the button content.
attribute
inner element
static value
bindable
default
ButtonType DropDownButtonType Gets or sets the type of the button.
attribute
inner element
static value
bindable
default
Button
ClickBinding ICommandBinding Gets or sets a binding which defines a click action for button items.
attribute
inner element
static value
bindable
default
DataSource Object Gets or sets the source collection or a GridViewDataSet that contains data in the control.
attribute
inner element
static value
bindable
default
DropDirection DropDirection Gets or sets the popup direction.
attribute
inner element
static value
bindable
default
DropDown
IsCollapsed Boolean Gets or sets whether the button is collapsed or not.
attribute
inner element
static value
bindable
default
True
IsEnabledBinding IValueBinding Gets or sets a value binding that points to a property indicating whether the item is disabled or not.
attribute
inner element
static value
bindable
default
IsSelectedBinding IValueBinding Gets or sets a value binding that points to a property indicating whether the item is selected or not.
attribute
inner element
static value
bindable
default
Items List<IDropDownButtonItem> Gets or sets a collection of items that is used when no DataSource is set.
attribute
inner element
static value
bindable
default
ItemsContentTemplate ITemplate Gets or sets the template for contents of the generated items when using the DataSource property.
attribute
inner element
static value
bindable
default
MenuAlignment DropdownMenuAlignment Gets or sets whether the popup will be aligned to the right of the button.
attribute
inner element
static value
bindable
default
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
inner element
static value
bindable
default
Size Size Gets or sets the size of the button.
attribute
inner element
static value
bindable
default
Default
Text String Gets or sets the button text.
attribute
inner element
static value
bindable
default
TextBinding IValueBinding Gets or sets the value binding that points to a property which will be used as the text of the item.
attribute
inner element
static value
bindable
default
Type BootstrapButtonColor Gets or sets the color of the button.
attribute
inner element
static value
bindable
default
Primary
VisualStyle ButtonVisualStyle Gets or sets whether the button has solid fill, or whether it is only an outline.
attribute
inner element
static value
bindable
default
SolidFill

Events

Name Type Description

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.

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