New to Telerik UI for ASP.NET Core? Download free 30-day trial

Kendo.Mvc.UI.Fluent.BadgeBuilder

Defines the fluent API for configuring the Kendo UI Badge

Methods

Text(System.Single)

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

Parameters

value System.Single

The value for Text

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.See web font icons help article for more details on Kendo UI icons.

Parameters

value System.String

The value for Icon

Max(System.Double)

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

Parameters

value System.Double

The value for Max

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

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)

Defines the size of the badge

Parameters

value Kendo.Mvc.UI.BadgeSize

The value for Size

Align(Kendo.Mvc.UI.BadgeAlign)

Defines the alignment of the badge

Parameters

value Kendo.Mvc.UI.BadgeAlign

The value for Align

Position(Kendo.Mvc.UI.BadgePosition)

Defines the position of the badge

Parameters

value Kendo.Mvc.UI.BadgePosition

The value for Position

Shape(Kendo.Mvc.UI.BadgeShape)

Defines the shape of the badge

Parameters

value Kendo.Mvc.UI.BadgeShape

The value for Shape

ThemeColor(Kendo.Mvc.UI.BadgeColor)

Defines the color of the badge

Parameters

value Kendo.Mvc.UI.BadgeColor

The value for ThemeColor

Fill(Kendo.Mvc.UI.BadgeFill)

Defines how theme colors are applied to a badge

Parameters

value Kendo.Mvc.UI.BadgeFill

The value for Fill

In this article
Not finding the help you need?