Kendo.Mvc.UI.Fluent.ButtonGroupItemBadgeSettingsBuilder

Defines the fluent API for configuring ButtonGroupItemBadgeSettings

Methods

Appearance(System.String)

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

Parameters

value System.String

The value for Appearance

CutoutBorder(System.Boolean)

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

Parameters

value System.Boolean

The value for CutoutBorder

CutoutBorder

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

Icon(System.String)

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.

Parameters

value System.String

The value for Icon

Look(System.String)

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

Parameters

value System.String

The value for Look

Max(System.Double)

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

Parameters

value System.Double

The value for Max

Overlay(System.Boolean)

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.

Parameters

value System.Boolean

The value for Overlay

Template(System.String)

The template which renders the content of the badge.

Parameters

value System.String

The value for Template

TemplateId(System.String)

The template which renders the content of the badge.

Parameters

templateId System.String

The ID of the template element for Template

Text(System.String)

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

Parameters

value System.String

The value for Text

Type(System.String)

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

Parameters

value System.String

The value for Type

Value(System.String)

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

Parameters

value System.String

The value for Value

Visible(System.Boolean)

If set to false the badge will not be displayed.

Parameters

value System.Boolean

The value for Visible

Size(Kendo.Mvc.UI.BadgeSize)

Parameters

value Kendo.Mvc.UI.BadgeSize

The value for Size

Placement(Kendo.Mvc.UI.BadgePlacement)

Parameters

value Kendo.Mvc.UI.BadgePlacement

The value for Placement

Position(Kendo.Mvc.UI.BadgePosition)

Parameters

value Kendo.Mvc.UI.BadgePosition

The value for Position

Shape(Kendo.Mvc.UI.BadgeShape)

Parameters

value Kendo.Mvc.UI.BadgeShape

The value for Shape

Color(Kendo.Mvc.UI.BadgeColor)

Parameters

value Kendo.Mvc.UI.BadgeColor

The value for Color

BadgeStyle(Kendo.Mvc.UI.BadgeStyle)

Parameters

value Kendo.Mvc.UI.BadgeStyle

The value for BadgeStyle

In this article
Not finding the help you need?