API Reference
Class
RoleBadgeSettings
Settings sub-builder for TablerRoleBadge.
Inheritance
- Object
- RoleBadgeSettings
Methods
public RoleBadgeSettings AutoMap(Boolean enable = true) #Returns:
RoleBadgeSettingsEnables/disables automatic role-to-color mapping (default: enabled).
Parameters
- enable System.Boolean = true
public RoleBadgeSettings Color(TablerBadgeColor color) #Returns:
RoleBadgeSettingsSets badge color explicitly.
Parameters
- color HtmlForgeX.TablerBadgeColor
public RoleBadgeSettings Href(String href) #Returns:
RoleBadgeSettingsMakes the badge a link.
Parameters
- href System.String
public RoleBadgeSettings Pill(Boolean enable = true) #Returns:
RoleBadgeSettingsControls pill shaping.
Parameters
- enable System.Boolean = true
public RoleBadgeSettings Size(TablerBadgeSize size) #Returns:
RoleBadgeSettingsSets badge size.
Parameters
- size HtmlForgeX.TablerBadgeSize
public RoleBadgeSettings Style(TablerBadgeVisualStyle style) #Returns:
RoleBadgeSettingsSets badge visual style.
Parameters
- style HtmlForgeX.TablerBadgeVisualStyle