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

Defines the fluent API for configuring the ToggleButtonBadgeSettings settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ToggleButtonBadgeSettings : JsonObject

Inheritance: objectJsonObjectToggleButtonBadgeSettings

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 ToggleButtonBadgeSettings

C#
public ToggleButtonBadgeSettings()

Properties

Sets the alignment of the badge widget that will be displayed in the component.

C#
public BadgeAlign? Align { get; set; }

Specifies whether or not to render additional cutout border around the badge widget that will be displayed in the component.

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

Determines whether the textual content should be rendered as an HTML string or it should be encoded.

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

Sets the fill mode of the badge widget that will be displayed in the component.

C#
public BadgeFill? Fill { get; set; }

Sets the position of the badge widget that will be displayed in the component.

C#
public BadgePosition? Position { get; set; }

Sets the shape of the badge widget that will be displayed in the component.

C#
public BadgeShape? Shape { get; set; }

Sets the size of the badge widget that will be displayed in the component.

C#
public ComponentSize? Size { get; set; }

Sets the text for the badge widget that will be displayed in the component.

C#
public string Text { get; set; }

Sets the theme color of the badge widget that will be displayed in the component.

C#
public BadgeColor? ThemeColor { get; set; }

Sets whether the badge widget will be visible or not in the component.

C#
public bool? Visible { 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>)