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

Kendo UI ButtonGroupItemBadgeSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ButtonGroupItemBadge

Inheritance: objectButtonGroupItemBadge

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

Constructors

C#
public ButtonGroupItemBadge()

Properties

Defines the alignment of the badge

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

Specifies wether or not to render additional "cutout" border around the badge.

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

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 bool? Enabled { 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; }

Defines how theme colors are applied to a badge

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

Defines the name for an existing icon in a Kendo UI theme or SVG content. The icon is rendered inside the badge by a span.k-icon or span.k-svg-icon element.

C#
public string Icon { get; set; }

If text is a number, it will cap that number.

C#
public double? Max { get; set; }

Specifies position of the badge relative to button. Valid position options are: inline, top start, top end, bottom start, bottom end. works in conjunction with badge.placement.

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

Specifies the shape of the badge. Valid options are: rectangle, rounded, pill, circle, dot.

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

Specifies the size of the badge. Valid options are small, medium and large.

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

The template which renders the content of the badge

C#
public string Template { get; set; }
C#
public string TemplateHandler { get; set; }

The id of the script element used for Template

C#
public string TemplateId { get; set; }

The text of the badge. Valid input includes string, number or object with toString method. Default is empty string.

C#
public string Text { get; set; }

Specifies the color of the component. Valid options are inherit, default, primary, secondary, tertiary, info, success, warning, error, dark, light, inverted.

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

If set to false the badge will not be displayed.

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

Methods

Serialize current instance to Dictionary

C#
public virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>