ButtonBadgeSettingsBuilder

Methods

Align(Kendo.Mvc.UI.BadgeAlign)

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

Parameters

value - BadgeAlign

The value for Align

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

CutoutBorder(System.Boolean)

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

Parameters

value - System.Boolean

The value for CutoutBorder

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

CutoutBorder()

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

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

FillMode(Kendo.Mvc.UI.BadgeFill)

Sets a value controlling how the color is applied to the badge. When undefined (the default), the theme controls the fill mode. Can also be set to the following string values: "solid" or "outline".

Parameters

value - BadgeFill

The value for FillMode

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

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

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

Max(System.Double)

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

Parameters

value - System.Double

The value for Max

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

Position(Kendo.Mvc.UI.BadgePosition)

Specifies position of the badge relative to the edge of the button. Valid placemnt options are: inline, edge, inside, outside.Note: position configuration, other than inline, requires the badge to be aligned. See badge.align for more details.

Parameters

value - BadgePosition

The value for Position

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

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

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

Size(Kendo.Mvc.UI.BadgeSize)

Sets a value controlling the size of the badge. When undefined (the default), the theme controls the size. Can also be set to the following string values: "small"; "medium" or "large".

Parameters

value - BadgeSize

The value for Size

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

Template(System.String)

The template which renders the content of the badge.

Parameters

value - System.String

The value for Template

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

TemplateId(System.String)

The template which renders the content of the badge.

Parameters

templateId - System.String

The ID of the template element for Template

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template which renders the content of the badge.

Parameters

templateView - Microsoft.AspNetCore.Html.IHtmlContent

The view that contains the template for Template

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

TemplateHandler(System.String)

The template which renders the content of the badge.

Parameters

templateHandler - System.String

The handler that returs the template for Template

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

Template(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template which renders the content of the badge.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

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

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

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 ThemeColor

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.

Visible(System.Boolean)

If set to false the badge will not be displayed.

Parameters

value - System.Boolean

The value for Visible

RETURNS

Returns the current ButtonBadgeSettingsBuilder instance.