RadioButtonBuilder
Defines the fluent API for configuring the Telerik UI for ASP.NET MVC RadioButton.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class RadioButtonBuilder : WidgetBuilderBase<RadioButton, RadioButtonBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<RadioButton, RadioButtonBuilder>RadioButtonBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadioButton class.
Methods
Defines the checked state of the RadioButton.
public RadioButtonBuilder Checked(bool value)
The value that configures the checked state.
Returns:If set to "false", the RadioButton will be disabled and will not allow the user to change its state.
public RadioButtonBuilder Enable(bool value)
The value that enables or disables the component.
Returns:Determines whether the label content must be rendered as an HTML string or it must be encoded.
public RadioButtonBuilder Encoded(bool value)
The value that configures the Encoded option.
Returns:Configures the handled client-side events of the RadioButton.
public RadioButtonBuilder Events(Action<RadioButtonEventBuilder> configurator)
The action that configures the available events.
Returns:Specifies the label content for the RadioButton.
public RadioButtonBuilder Label(string value)
The value that configures the label.
Returns:Sets a value controlling the size of the component.
public RadioButtonBuilder Size(ComponentSize value)
The enum value that configures the size.
Returns:Sets the value of the radio button.