EnumExtensions Class

Enum extensions Pattern matching: https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/functional/pattern-matching Discard pattern: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/patterns#discard-pattern

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static class EnumExtensions
Inheritance
Object    EnumExtensions

Methods

ToToastTextColorClass Converts the toastType to a CSS class for the background color of a Toast

Fields

AlertColorClassMap CSS class map for the color of an Alert
BadgeColorClassMap CSS class map for the color of a Badge
BadgeIndicatorClassMap CSS class map for the border radius of a Badge
BadgePlacementClassMap CSS class map for the placement of a Badge
ButtonColorClassMap CSS class map for the color of a Button
ButtonOutlineColorClassMap CSS class map for the outline color of a Button
ButtonSizeClassMap CSS class map for the size of a Button
ButtonTypeStringMap CSS class map for the Button's type.
CalloutColorClassMap CSS class map for the color of a CallOut
CardColorClassMap CSS class map for the color of a Card
ChartDatasetDataLabelAlignmentMap CSS class map for the alignment of a ChartDatasetTData
ChartDatasetDataLabelAnchorMap CSS class map for the anchor of a ChartDatasetTData
DialogSizeClassMap CSS class map for the size of a ConfirmDialog
DropdownButtonColorClassMap CSS class map for the color of a DropdownActionButton or DropdownToggleButton
DropdownDirectionClassMap CSS class map for the direction a Dropdown orients itself in.
IconColorClassMap CSS class map for the color of an Icon
ModalHeaderColorClassMap CSS class map for the color of the header of a Modal
ModalSizeClassMap CSS class map for the size of a Modal
PaginationAlignmentClassMap CSS class map for the alignment of a Pagination
PositionClassMap CSS class map for the position of an element.
ProgressColorClassMap CSS class map for the color of a ProgressBar
SpinnerColorClassMap CSS class map for the color of a Spinner
SpinnerTypeClassMap CSS class map for the Spinner's type.
TargetStringMap CSS class map for the target of a clickable link.
TextAlignmentClassMap CSS class map for the text alignment of a text element.
ToastBackgroundColorClassMap CSS class map for the background color of a Toast
TooltipColorClassMap CSS class map for the color of a Tooltip
TooltipPlacementNameMap CSS class map for the placement of a Tooltip

See Also