Kendo.Mvc.UI.Badge

Kendo UI Badge component

Properties

FloatText

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

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

Max

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

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.

Visible

If set to false the badge will not be displayed.

Size

Defines the size of the badge

Align

Defines the alignment of the badge

Position

Defines the position of the badge

Shape

Defines the shape of the badge

ThemeColor

Defines the color of the badge

Fill

Defines how theme colors are applied to a badge

Methods

WriteHtml(System.IO.TextWriter)

Writes the HTML.

WriteInitializationScript(System.IO.TextWriter)

Writes the initialization script.

Parameters

writer System.IO.TextWriter

The TextWriter.

SerializeSettings

Serialize current instance to Dictionary

In this article
Not finding the help you need?