API Reference
Class
RoleBadgeSettings
Settings sub-builder for TablerRoleBadge.
Inheritance
- Object
- RoleBadgeSettings
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method RoleBadgeSettings.AutoMap
- Method RoleBadgeSettings.Color
- Method RoleBadgeSettings.Href
- Method RoleBadgeSettings.Pill
- Method RoleBadgeSettings.Size
- Method RoleBadgeSettings.Style
Accepted by parameters
- Method TablerRoleBadge.Settings
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