Kendo.Mvc.UI.Fluent.ButtonBadgeSettingsBuilder

Defines the fluent API for configuring ButtonBadgeSettings

Methods

Appearance(System.String)

Deprecated! Use badge.shape instead.For compatibility badge.appearance maps to 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 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 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.

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 badge.color instead.For compatibility badge.type maps to badge.color.

Parameters

value System.String

The value for Type

Value(System.String)

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