New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the RadioGroupItem settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class RadioGroupItemBuilder

Inheritance: objectRadioGroupItemBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initialize the RadioGroupItemBuilder

C#
public RadioGroupItemBuilder(RadioGroupItem settings)
Parameters:settingsRadioGroupItem

The RadioGroupItem

Methods

Custom class that would be set on the respective k-radio-item element.

C#
public RadioGroupItemBuilder CssClass(string value)
Parameters:valuestring

The value that configures the cssclass.

Returns:

RadioGroupItemBuilder

Defines whether the radio button is enabled or not. By default all radio buttons are enabled.

C#
public RadioGroupItemBuilder Enabled(bool value)
Parameters:valuebool

The value that configures the enabled.

Returns:

RadioGroupItemBuilder

Determines whether the radio button label content should be rendered as an HTML string or it should be encoded.

C#
public RadioGroupItemBuilder Encoded(bool value)
Parameters:valuebool

The value that configures the encoded.

Returns:

RadioGroupItemBuilder

Collection of key-value pairs that would be used to generate the attributes attached to each k-radio-item element.

C#
public RadioGroupItemBuilder HtmlAttributes(IDictionary<string, object> value)
Parameters:valueIDictionary<string, object>

The value that configures the htmlattributes.

Returns:

RadioGroupItemBuilder

Collection of key-value pairs that would be used to generate the attributes attached to each k-radio-item element.

C#
public RadioGroupItemBuilder HtmlAttributes(object value)
Parameters:valueobject

The value that configures the htmlattributes.

Returns:

RadioGroupItemBuilder

Specifies the label content for the radio button.

C#
public RadioGroupItemBuilder Label(string value)
Parameters:valuestring

The value that configures the label.

Returns:

RadioGroupItemBuilder

Specifies the value for the radio button.

C#
public RadioGroupItemBuilder Value(string value)
Parameters:valuestring

The value that configures the value.

Returns:

RadioGroupItemBuilder