Kendo.Mvc.UI.ButtonBadgeSettings
Kendo UI ButtonBadgeSettings class
Properties
Align
Defines the alignment of the badge
Fill
Defines how theme colors are applied to a badge
ThemeColor
Specifies the color of the component. Valid options are inherit, default, primary, secondary, tertiary, info, success, warning, error, dark, light, inverted.
CutoutBorder
Specifies wether or not to render additional "cutout" border around the badge.
Icon
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.
Max
If text is a number, it will cap that number.
Position
Specifies position of the badge relative to button. Valid position options are: inline, top start, top end, bottom start, bottom end. works in conjunction with badge.placement.
Shape
Specifies the shape of the badge. Valid options are: rectangle, rounded, pill, circle, dot.
Size
Specifies the size of the badge. Valid options are small, medium and large.
Text
The text of the badge. Valid input includes string, number or object with toString method. Default is empty string.
Template
The template which renders the content of the badge
TemplateId
The id of the script element used for Template
Visible
If set to false the badge will not be displayed.
Enabled
If set to true a default overlay badge will be displayed. If set to a string, an ovelay with content set to the specified string will be displayed. Can be set to a JavaScript object which represents the configuration of the Badge widget.
Methods
SerializeSettings
Serialize current instance to Dictionary