Kendo.Mvc.UI.Fluent.BadgeBuilder
Defines the fluent API for configuring the Kendo Badge for ASP.NET MVC.
Methods
CutoutBorder(System.Boolean)
Specifies wether or not to render additional "cutout" border around the badge.
Parameters
value System.Boolean
The value that configures the cutoutborder.
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.See web font icons help article for more details on Kendo UI icons.
Parameters
value System.String
The value that configures the icon.
Max(System.Double)
If text is a number, it will cap that number.
Parameters
value System.Double
The value that configures the max.
Template(System.String)
The template which renders the content of the badge.
Parameters
value System.String
The value that configures the template.
TemplateId(System.String)
The template which renders the content of the badge.
Parameters
value System.String
The value that configures the template.
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 that configures the text.
Visible(System.Boolean)
If set to false the badge will not be displayed.
Parameters
value System.Boolean
The value that configures the visible.
Size(Kendo.Mvc.UI.BadgeSize)
Defines the size of the badge
Parameters
value Kendo.Mvc.UI.BadgeSize
The value that configures the size.
Align(Kendo.Mvc.UI.BadgeAlign)
Defines the alignment of the badge
Parameters
value Kendo.Mvc.UI.BadgeAlign
The value that configures the align.
Position(Kendo.Mvc.UI.BadgePosition)
Defines the position of the badge
Parameters
value Kendo.Mvc.UI.BadgePosition
The value that configures the position.
Shape(Kendo.Mvc.UI.BadgeShape)
Defines the shape of the badge
Parameters
value Kendo.Mvc.UI.BadgeShape
The value that configures the shape.
ThemeColor(Kendo.Mvc.UI.BadgeColor)
Defines the color of the badge
Parameters
value Kendo.Mvc.UI.BadgeColor
The value that configures the themecolor.
Fill(Kendo.Mvc.UI.BadgeFill)
Defines how theme colors are applied to a badge
Parameters
value Kendo.Mvc.UI.BadgeFill
The value that configures the fill.
Text(System.Single)
The text of the badge. Valid input includes string, number or object with toString method. Default is empty string.
Parameters
value System.Single
The value that configures the text.