Defines the fluent API for configuring the ToggleButtonBadgeSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ToggleButtonBadgeSettingsBuilder
Inheritance: objectToggleButtonBadgeSettingsBuilder
Inherited Members
Constructors
Initialize the ToggleButtonBadgeSettingsBuilder
public ToggleButtonBadgeSettingsBuilder(ToggleButtonBadgeSettings settings)
Methods
Sets the alignment of the badge widget that will be displayed in the component.
public ToggleButtonBadgeSettingsBuilder Align(BadgeAlign value)
The value that configures the align.
Returns:Specifies whether or not to render additional cutout border around the badge widget that will be displayed in the component.
public ToggleButtonBadgeSettingsBuilder CutoutBorder(bool value)
The value that configures the cutoutborder.
Returns:Determines whether the textual content should be rendered as an HTML string or it should be encoded.
public ToggleButtonBadgeSettingsBuilder Encoded(bool value)
The value that configures the encoded.
Returns:Sets the fill mode of the badge widget that will be displayed in the component.
public ToggleButtonBadgeSettingsBuilder Fill(BadgeFill value)
The value that configures the fill.
Returns:Sets the position of the badge widget that will be displayed in the component.
public ToggleButtonBadgeSettingsBuilder Position(BadgePosition value)
The value that configures the position.
Returns:Sets the shape of the badge widget that will be displayed in the component.
public ToggleButtonBadgeSettingsBuilder Shape(BadgeShape value)
The value that configures the shape.
Returns:Sets the size of the badge widget that will be displayed in the component.
public ToggleButtonBadgeSettingsBuilder Size(ComponentSize value)
The value that configures the size.
Returns:Sets the text for the badge widget that will be displayed in the component.
public ToggleButtonBadgeSettingsBuilder Text(string value)
The value that configures the text.
Returns:Sets the theme color of the badge widget that will be displayed in the component.
public ToggleButtonBadgeSettingsBuilder ThemeColor(BadgeColor value)
The value that configures the themecolor.
Returns:Sets whether the badge widget will be visible or not in the component.
public ToggleButtonBadgeSettingsBuilder Visible(bool value)
The value that configures the visible.
Returns: