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

Defines the fluent API for configuring the SegmentedControlItem settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class SegmentedControlItem : JsonObject

Inheritance: objectJsonObjectSegmentedControlItem

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

Constructors

Initialization for the SegmentedControlItem

C#
public SegmentedControlItem()

Properties

Configures whether an individual button can be enabled or disabled.

C#
public bool? Enabled { get; set; }

Defines the name for an existing icon in a Kendo UI theme or SVG content. The icon is rendered inside the button.

C#
public string Icon { get; set; }

If set, value will be appended to the icon's element class attribute.

C#
public string IconClass { get; set; }

If set, the text will be rendered as the button label.

C#
public string Text { get; set; }

Specifies the value that will act as an identifier for the button. Will be supplemented as a data-value attribute.

C#
public string Value { get; set; }

Methods

Serialize current instance to Dictionary

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)