Kendo.Mvc.UI.ButtonBadgeSettings

Kendo UI ButtonBadgeSettings class

Properties

Appearance

Deprecated! Use badge.shape instead.For compatibility badge.appearance maps to 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 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 badge.position instead.There is no built in mapping between badge.overlay and badge.position: badge.overlay: false can be achieved by setting badge.position: "inline" or badge.overlay: true can be achieved by setting badge.position: "top end", or not setting it at all.. For compatibility 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 badge.color instead.For compatibility badge.type maps to badge.color.

Value

Deprecated! Use badge.text instead.For compatibility badge.value maps to 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?