Version: 2.0 |

InputGroupButton

in namespace DotVVM.Framework.Controls.Bootstrap4

Extends the bootstrap Button control for usage in InputGroup

Properties

Name Type Description Notes Default Value
ButtonTagName ButtonTagName Gets or sets whether the control should render the <input> or the <button> tag in the HTML.
attribute
inner element
static value
bindable
default
input
ContentTemplate ITemplate
attribute
inner element
static value
bindable
default
Enabled Boolean Gets or sets a value indicating whether the button is enabled and can be clicked on.
attribute
inner element
static value
bindable
default
False
IsBlockButton Boolean Gets or sets whether the button should be styled as a block element.
attribute
inner element
static value
bindable
default
False
IsSubmitButton Boolean Gets or sets whether the control should render a submit button or a normal button (type="submit" or type="button"). The submit button has some special features in the browsers, e.g. handles the Return key in HTML forms etc.
attribute
inner element
static value
bindable
default
False
Size Size Gets or sets the size of the button.
attribute
inner element
static value
bindable
default
Default
Text String Gets or sets the text on the button.
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
Click Command Gets or sets the command that will be triggered when the button is clicked.

Usage & Scenarios

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

See Button 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