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

Represents an item from Kendo ButtonGroup for ASP.NET MVC

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ButtonGroupItem : JsonObject

Inheritance: objectJsonObjectButtonGroupItem

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

Constructors

C#
public ButtonGroupItem()

Properties

If set to true a default overlay badge will be displayed. If set to a string, an ovelay with content set to the specified string will be displayed. Can be set to a JavaScript object which represents the configuration of the Badge widget.

C#
public ButtonGroupItemBadge Badge { get; set; }
C#
public bool? Enabled { get; set; }
C#
public bool? Encoded { get; set; }

Gets the HTML attributes.

C#
public IDictionary<string, object> HtmlAttributes { get; }
Property Value:

The HTML attributes.

C#
public string Icon { get; set; }
C#
public string IconClass { get; set; }
C#
public bool? Selected { get; set; }
C#
public string Text { get; set; }

Methods

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

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