Version: 2.0 |

ButtonGroupRadioButton

in namespace DotVVM.Framework.Controls.Bootstrap4

Extends the default RadioButton control with additional Bootstrap features for usage inside ButtonGroup control.

Properties

Name Type Description Notes Default Value
Checked Boolean Gets or sets whether the control is checked.
attribute
inner element
static value
bindable
default
False
CheckedItem Object Gets or sets the CheckedValue of the first RadioButton that is checked and bound to this collection.
attribute
inner element
static value
bindable
default
CheckedValue Object Gets or sets the value that will be used as a result when the control is checked. Use this property in combination with the CheckedItem or CheckedItems property.
attribute
inner element
static value
bindable
default
Enabled Boolean Gets or sets a value indicating whether the control is enabled and can be clicked on.
attribute
inner element
static value
bindable
default
False
GroupName String Gets or sets an unique name of the radio button group.
attribute
inner element
static value
bindable
default
Text String Gets or sets the label text that is rendered next to the control.
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

Events

Name Type Description
Changed Command Gets or sets the command that will be triggered when the control check state is changed.

Usage & Scenarios

A special version of the RadioButton control that can be used in ButtonGroup.

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

https://getbootstrap.com/docs/4.1/components/button-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