Defines the fluent API for configuring RadioGroupItem
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class RadioGroupItemBuilder
Inheritance: objectRadioGroupItemBuilder
Inherited Members
Constructors
RadioGroupItemBuilder method.
Properties
Gets the settings being configured.
protected RadioGroupItem Container { get; }
Methods
Custom class that would be set on the respective k-radio-item element.
public RadioGroupItemBuilder CssClass(string value)
The value for CssClass
Returns:Returns the current RadioGroupItemBuilder instance.
Defines whether the radio button is enabled or not. By default all radio buttons are enabled.
public RadioGroupItemBuilder Enabled(bool value)
The value for Enabled
Returns:Returns the current RadioGroupItemBuilder instance.
Determines whether the radio button label content should be rendered as an HTML string or it should be encoded.
public RadioGroupItemBuilder Encoded(bool value)
The value for Encoded
Returns:Returns the current RadioGroupItemBuilder instance.
Collection of key-value pairs that would be used to generate the attributes attached to each k-radio-item element.
public RadioGroupItemBuilder HtmlAttributes(IDictionary<string, object> value)
The value for HtmlAttributes
Returns:Returns the current RadioGroupItemBuilder instance.
Collection of key-value pairs that would be used to generate the attributes attached to each k-radio-item element.
public RadioGroupItemBuilder HtmlAttributes(object value)
The value for HtmlAttributes
Returns:Returns the current RadioGroupItemBuilder instance.
Specifies the label content for the radio button.
public RadioGroupItemBuilder Label(string value)
The value for Label
Returns:Returns the current RadioGroupItemBuilder instance.
Specifies the value for the radio button.
public RadioGroupItemBuilder Value(string value)
The value for Value
Returns:Returns the current RadioGroupItemBuilder instance.