Class PopoverBuilder
Builds the shared "box" classes (background, border, rounded corners, shadow) for every popover panel (date/time/color picker panels) from TwOverlayTheme. Mirrors GetSurfaceClasses(DialogMaxWidth?, bool, bool, Rounded?, Shadow?, string?)'s instance-override/theme-default/global-default resolution, so popovers and the modal dialog behave the same way instead of the popover family having no such override tier at all.
public class PopoverBuilder
- Inheritance
-
PopoverBuilder
- Inherited Members
Constructors
PopoverBuilder(TwBlazorOptions, RoundedBuilder, ShadowBuilder)
Builds the shared "box" classes (background, border, rounded corners, shadow) for every popover panel (date/time/color picker panels) from TwOverlayTheme. Mirrors GetSurfaceClasses(DialogMaxWidth?, bool, bool, Rounded?, Shadow?, string?)'s instance-override/theme-default/global-default resolution, so popovers and the modal dialog behave the same way instead of the popover family having no such override tier at all.
public PopoverBuilder(TwBlazorOptions options, RoundedBuilder roundedBuilder, ShadowBuilder shadowBuilder)
Parameters
optionsTwBlazorOptionsroundedBuilderRoundedBuildershadowBuilderShadowBuilder
Methods
GetSurfaceClasses(Rounded?, Shadow?, string?)
Gets the classes for a popover panel's surface (background, border, rounded corners, shadow).
public string GetSurfaceClasses(Rounded? rounded, Shadow? shadow, string? customClass = null)
Parameters
roundedRounded?Instance-level rounded override.
shadowShadow?Instance-level shadow override.
customClassstringAdditional custom classes to append.