Defines the fluent API for configuring ButtonGroupItemBadgeBuilder
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ButtonGroupItemBadgeBuilder
Inheritance: objectButtonGroupItemBadgeBuilder
Inherited Members
Constructors
public ButtonGroupItemBadgeBuilder(ButtonGroupItemBadge container)
Properties
protected ButtonGroupItemBadge Container { get; }
Methods
Defines the alignment of the badge
public ButtonGroupItemBadgeBuilder Align(BadgeAlign value)
The value that configures the align.
Returns:Specifies wether or not to render additional "cutout" border around the badge.
Specifies wether or not to render additional "cutout" border around the badge.
public ButtonGroupItemBadgeBuilder CutoutBorder(bool value)
The value for CutoutBorder
Returns:Determines whether the textual content should be rendered as an HTML string or it should be encoded.
public ButtonGroupItemBadgeBuilder Encoded(bool value)
The value for Encoded
Returns:Defines how theme colors are applied to a badge
public ButtonGroupItemBadgeBuilder Fill(BadgeFill? value)
The value that configures the fill.
Returns: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.
public ButtonGroupItemBadgeBuilder Icon(string value)
The value for Icon
Returns:If text is a number, it will cap that number.
public ButtonGroupItemBadgeBuilder Max(double value)
The value for Max
Returns: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 items.badge.placement.
public ButtonGroupItemBadgeBuilder Position(BadgePosition value)
The value for Position
Returns:Specifies the shape of the badge. Valid options are: rectangle, rounded, pill, circle, dot.
public ButtonGroupItemBadgeBuilder Shape(BadgeShape value)
The value for Shape
Returns:Specifies the size of the badge. Valid options are small, medium and large.
public ButtonGroupItemBadgeBuilder Size(BadgeSize? value)
The value for Shape
Returns:The template which renders the content of the badge
public ButtonGroupItemBadgeBuilder Template(string value)
The value for Template
Returns:Sets the template handler function name for rendering the badge content.
public ButtonGroupItemBadgeBuilder TemplateHandler(string value)
The template handler function name.
Returns:The builder instance.
The template which renders the content of the badge
public ButtonGroupItemBadgeBuilder TemplateId(string templateId)
The ID of the template element for Template
Returns:The template which renders the content of the badge
public ButtonGroupItemBadgeBuilder TemplateView(MvcHtmlString value)
The text of the badge. Valid input includes string, number or object with toString method. Default is empty string.
public ButtonGroupItemBadgeBuilder Text(string value)
The value for Text
Returns:Specifies the color of the component. Valid options are inherit, default, primary, secondary, tertiary, info, success, warning, error, dark, light, inverted.
public ButtonGroupItemBadgeBuilder ThemeColor(BadgeColor? value)
The value for Color
Returns:If set to false the badge will not be displayed.
public ButtonGroupItemBadgeBuilder Visible(bool value)
The value for Visible
Returns: