# 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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/badgealign)

The value for Align

#### RETURNS

Returns the current [ButtonBadgeSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/buttonbadgesettingsbuilder) instance.

### CutoutBorder()

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

#### RETURNS

Returns the current [ButtonBadgeSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/buttonbadgesettingsbuilder) instance.

### Encoded(System.Boolean)

Determines whether the textual content should be rendered as an HTML string or it should be encoded.

#### Parameters

##### value - `System.Boolean`

The value for Encoded

#### RETURNS

Returns the current [ButtonBadgeSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/badgefill)

The value for FillMode

#### RETURNS

Returns the current [ButtonBadgeSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

#### Parameters

##### icon - `System.String`

The icon.

#### RETURNS

Returns the current instance of [ButtonBadgeSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/buttonbadgesettingsbuilder) .

### Icon(System.Action)

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.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

#### Parameters

##### configurator - System.Action<[ButtonBadgeIconSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/buttonbadgeiconsettingsbuilder)>

The configurator for the icon setting.

#### RETURNS

Returns the current instance of [ButtonBadgeSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/buttonbadgesettingsbuilder) .

### 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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/badgeposition)

The value for Position

#### RETURNS

Returns the current [ButtonBadgeSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/buttonbadgesettingsbuilder) instance.

### Rounded(Kendo.Mvc.UI.Rounded)

Specifies the rounding of the badge. When undefined (the default), the theme controls the default border radius. Valid options are small, medium, large and full.

#### Parameters

##### value - [Rounded](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/rounded)

The value for Rounded

#### RETURNS

Returns the current [ButtonBadgeSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/badgesize)

The value for Size

#### RETURNS

Returns the current [ButtonBadgeSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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, inverted.

#### Parameters

##### value - [BadgeColor](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/badgecolor)

The value for ThemeColor

#### RETURNS

Returns the current [ButtonBadgeSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/buttonbadgesettingsbuilder) instance.
