RadioButton
Class
Kendo UI RadioButton component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class RadioButton : WidgetBase, IHtmlAttributesContainer
Inheritance: objectWidgetBaseRadioButton
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadioButton class.
Properties
If set to false, the RadioButton will be disabled and will not allow the user to change its checked state.
C#
public bool? Enabled { get; set; }
Determines whether the radio label content should be rendered as an HTML string or it should be encoded.
C#
public bool? Encoded { get; set; }
Sets a value controlling the size of the component.
C#
public ComponentSize? Size { get; set; }
Methods
GetModelExplorer method.
IsCheckedFromModel method.
Serializes the component settings to a dictionary.
C#
public override IDictionary<string, object> Serialize()
A dictionary of settings.
Overrides:
SerializeSettings method.
C#
protected override Dictionary<string, object> SerializeSettings()
Overrides:
Writes the HTML.
Writes the initialization script.
C#
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: