ButtonGroupItemBadgeSettingsBuilder

Methods

Align(Kendo.Mvc.UI.BadgeAlign)

Specifies position of the badge relative to button. Valid position options are: TopStart, TopEnd, BottomStart, BottomEnd. works in conjunction with Items.Badge.Position.

Parameters

value - BadgeAlign

The value for Align

RETURNS

Returns the current ButtonGroupItemBadgeSettingsBuilder 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 ButtonGroupItemBadgeSettingsBuilder instance.

CutoutBorder()

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

RETURNS

Returns the current ButtonGroupItemBadgeSettingsBuilder instance.

Fill(Kendo.Mvc.UI.BadgeFill)

Specifies the structure of a badge. Valid options are Solid (default) and Outline.

Parameters

value - BadgeFill

The value for Fill

RETURNS

Returns the current ButtonGroupItemBadgeSettingsBuilder instance.

Icon(System.String)

Defines the name for an existing icon in a Telerik 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 ButtonGroupItemBadgeSettingsBuilder 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 ButtonGroupItemBadgeSettingsBuilder instance.

Position(Kendo.Mvc.UI.BadgePosition)

Specifies position of the badge relative to the edge of the button. Valid placement options are: Inline, Edge, Inside, Outside. Note: position configuration, other than Inline, requires the badge to be aligned. See Items.Badge.Align for more details.

Parameters

value - BadgePosition

The value for Position

RETURNS

Returns the current ButtonGroupItemBadgeSettingsBuilder 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 ButtonGroupItemBadgeSettingsBuilder instance.

Size(Kendo.Mvc.UI.BadgeSize)

Specifies the size of the badge. Valid options are Small, Medium and Large.

Parameters

value - BadgeSize

The value for Size

RETURNS

Returns the current ButtonGroupItemBadgeSettingsBuilder 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 ButtonGroupItemBadgeSettingsBuilder 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 ButtonGroupItemBadgeSettingsBuilder 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 ButtonGroupItemBadgeSettingsBuilder instance.

TemplateHandler(System.String)

The template which renders the content of the badge.

Parameters

templateHandler - System.String

The handler that returns the template for Template

RETURNS

Returns the current ButtonGroupItemBadgeSettingsBuilder 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 ButtonGroupItemBadgeSettingsBuilder 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 ButtonGroupItemBadgeSettingsBuilder 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 ButtonGroupItemBadgeSettingsBuilder 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 ButtonGroupItemBadgeSettingsBuilder instance.