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

ButtonBadgeSettingsBuilder

Methods

Align(Kendo.Mvc.UI.BadgeAlign)

Defines the alignment of the badge

Parameters

value - BadgeAlign

The value that configures the align.

Fill(Kendo.Mvc.UI.BadgeFill)

Defines how theme colors are applied to a badge

Parameters

value - BadgeFill

The value that configures the fill.

ThemeColor(Kendo.Mvc.UI.BadgeColor)

Specifies the color of the component. Valid options are inherit, default, primary, secondary, tertiary, info, success, warning, error, dark, light, inverted.

Parameters

value - BadgeColor

The value for Color

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

Max(System.Double)

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

Parameters

value - System.Double

The value for Max

Position(Kendo.Mvc.UI.BadgePosition)

Specifies position of the badge relative to button. Valid position options are: inline, top start, top end, bottom start, bottom end. works in conjunction with badge.placement.

Parameters

value - BadgePosition

The value for Position

Shape(Kendo.Mvc.UI.BadgeShape)

Specifies the shape of the badge. Valid options are: rectangle, rounded, pill, circle, dot.

Parameters

value - BadgeShape

The value for Shape

Size(Kendo.Mvc.UI.BadgeSize)

Specifies the size of the badge. Valid options are small, medium and large.

Parameters

value - BadgeSize

The value for Shape

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

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

TemplateView(System.Web.Mvc.MvcHtmlString)

The template which renders the content of the badge

Parameters

value - System.Web.Mvc.MvcHtmlString

The name of the view for the Template value

TemplateHandler(System.String)

Parameters

value - System.String

Visible(System.Boolean)

If set to false the badge will not be displayed.

Parameters

value - System.Boolean

The value for Visible

In this article
Not finding the help you need?