ButtonGroupRadioButton

in namespace DotVVM.Bootstrap5.Controls

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

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/5.2/components/button-group/

Properties

Name Type Description Notes Default Value
property icon ButtonFontType ButtonTextColor Gets or sets the font color.
attribute
inner element
static value
bindable
default
Default
property icon ButtonSize Size Gets or sets the button size.
attribute
inner element
static value
bindable
default
Default
property icon ButtonType ButtonType Gets or sets the button type.
attribute
inner element
static value
bindable
default
Primary
property icon ButtonVisualStyle ButtonVisualStyle Gets or sets the button visual style.
attribute
inner element
static value
bindable
default
SolidFill
property icon Checked Boolean? Gets or sets whether the control is checked.
attribute
inner element
static value
bindable
default
null
property icon CheckedItem IValueBinding<Object> Gets or sets the checked item. Use this property in combination with the CheckedValue property.
attribute
inner element
static value
bindable
default
null
property icon 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 property.
attribute
inner element
static value
bindable
default
null
property icon Content List<DotvvmControl> Gets or sets the content placed inside the control.
attribute
inner element
static value
bindable
default
null
property icon 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
null
property icon GroupName String Gets or sets a unique name for the radio button group.
attribute
inner element
static value
bindable
default
null
property icon Text String Gets or sets the text inside the control.
attribute
inner element
static value
bindable
default
null
property icon Visible Boolean Gets or sets whether the control is visible. When set to false, `style="display: none"` will be added to this control.
attribute
inner element
static value
bindable
default
True

Events

Name Type Description
event icon Changed ICommandBinding

HTML produced by the control