ButtonBadgeSettingsBuilder
Methods
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.
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.
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.
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.
Size(Kendo.Mvc.UI.BadgeSize)
Parameters
value - BadgeSize
The value for Size
RETURNS
Returns the current ButtonBadgeSettingsBuilder instance.
Align(Kendo.Mvc.UI.BadgeAlign)
Parameters
value - BadgeAlign
The value for Align
RETURNS
Returns the current ButtonBadgeSettingsBuilder instance.
Position(Kendo.Mvc.UI.BadgePosition)
Parameters
value - BadgePosition
The value for Position
RETURNS
Returns the current ButtonBadgeSettingsBuilder instance.
Shape(Kendo.Mvc.UI.BadgeShape)
Parameters
value - BadgeShape
The value for Shape
RETURNS
Returns the current ButtonBadgeSettingsBuilder instance.
ThemeColor(Kendo.Mvc.UI.BadgeColor)
Parameters
value - BadgeColor
The value for ThemeColor
RETURNS
Returns the current ButtonBadgeSettingsBuilder instance.
Fill(Kendo.Mvc.UI.BadgeFill)
Parameters
value - BadgeFill
The value for Fill
RETURNS
Returns the current ButtonBadgeSettingsBuilder instance.