BuilderFactoryExtensions.BootstrapRadioButton(BuilderFactory) Method
In This Article
Creates a Radio Button control.
Namespace: DevExpress.AspNetCore
Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll
#Declaration
public static BootstrapRadioButtonBuilder BootstrapRadioButton(
this BuilderFactory builderFactory
)
#Parameters
Name | Type | Description |
---|---|---|
builder |
Builder |
A Builder |
#Returns
Type | Description |
---|---|
Bootstrap |
A builder for a Radio Button control. |
#Remarks
IMPORTANT
Bootstrap Controls for ASP.
The code sample below demonstrates how you can use this method to create a Radio Button control.
cshtml
@(Html.DevExpress()
.BootstrapRadioButton()
.Text("RadioButton1")
.GroupName("RadioGroup")
.Checked(true)
)
@(Html.DevExpress()
.BootstrapRadioButton("radioButton2")
.Text("RadioButton2")
.GroupName("RadioGroup")
)
See Also