RadioButtonBuilder
Defines the fluent API for configuring the Telerik UI for ASP.NET Core RadioButton
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class RadioButtonBuilder : WidgetBuilderBase<RadioButton, RadioButtonBuilder>, IHtmlContent
Inheritance: objectHelperResultWidgetBuilderBase<RadioButton, RadioButtonBuilder>RadioButtonBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadioButtonBuilder class.
Methods
The checked state of the RadioButton.
The checked state of the RadioButton.
public RadioButtonBuilder Checked(bool value)
The value for Checked
Returns:Returns the current RadioButtonBuilder instance.
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:Returns the current RadioButtonBuilder instance.
Determines whether the radio label content should be rendered as an HTML string or it should be encoded.
public RadioButtonBuilder Encoded(bool value)
The value for Encoded
Returns:Returns the current RadioButtonBuilder instance.
Configures the client-side events.
public RadioButtonBuilder Events(Action<RadioButtonEventBuilder> configurator)
The client events action.
Returns:Returns the current RadioButtonBuilder instance.
Specifies the label content for the radio.
public RadioButtonBuilder Label(string value)
The value for Label
Returns:Returns the current RadioButtonBuilder instance.
Sets a value controlling the size of the component.
public RadioButtonBuilder Size(ComponentSize value)
The value for Size
Returns:Returns the current RadioButtonBuilder instance.
Sets the value of the radio button.
public RadioButtonBuilder Value(object value)
Returns the current RadioButtonBuilder instance.