The requested page is not available for the requested platform. You are viewing the content for Default platform.

BuilderFactoryExtensions.BootstrapRadioButton(BuilderFactory) Method

Creates a Radio Button control.

Namespace: DevExpress.AspNetCore

Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll

Declaration

public static BootstrapRadioButtonBuilder BootstrapRadioButton(
    this BuilderFactory builderFactory
)
<ExtensionAttribute>
Public Shared Function BootstrapRadioButton(
    builderFactory As BuilderFactory
) As BootstrapRadioButtonBuilder

Parameters

Name Type Description
builderFactory BuilderFactory

A BuilderFactory object providing access to Radio Button settings.

Returns

Type Description
BootstrapRadioButtonBuilder

A builder for a Radio Button control.

Remarks

Important

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

The code sample below demonstrates how you can use this method to create a Radio Button control.

@(Html.DevExpress()
    .BootstrapRadioButton()
    .Text("RadioButton1")
    .GroupName("RadioGroup")
    .Checked(true)
)
@(Html.DevExpress()
    .BootstrapRadioButton("radioButton2")
    .Text("RadioButton2")
    .GroupName("RadioGroup")
)
See Also