Kendo.Mvc.UI.ButtonGroupItemBadgeSettings

Kendo UI ButtonGroupItemBadgeSettings class

Properties

Appearance

Deprecated! Use items.badge.shape instead.For compatibility items.badge.appearance maps to items.badge.shape.

CutoutBorder

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

Icon

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.

Look

Deprecated! Use items.badge.badgeStyle instead.For compatibility badge.look maps to badge.badgeStyle.

Max

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

Overlay

Deprecated! Use items.badge.position instead.There is no built in mapping between items.badge.overlay and items.badge.position: items.badge.overlay: false can be achieved by setting items.badge.position: "inline" or items.badge.overlay: true can be achieved by setting items.badge.position: "top end", or not setting it at all.. For compatibility items.badge.overlay is kept, even though it has no effect on the badge.

Template

The template which renders the content of the badge.

TemplateId

The id of the script element used for Template

Text

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

Type

Deprecated! Use items.badge.color instead.For compatibility items.badge.type maps to items.badge.color.

Value

Deprecated! Use items.badge.text instead.For compatibility items.badge.value maps to items.badge.text.

Visible

If set to false the badge will not be displayed.

Size

Placement

Position

Shape

Color

BadgeStyle

Enabled

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.

Methods

Serialize

Serialize current instance to Dictionary

SerializeSettings

Serialize current instance to Dictionary

In this article
Not finding the help you need?