Table of Contents

Class TwOverlayTheme

Namespace
TwBlazor.Configuration.Components
Assembly
TwBlazor.dll

Theme configuration for every floating surface in the library, grouped by kind: generic popover panels (Popover), the modal dialog (Dialog) and tooltips (Tooltip).

[ExcludeFromCodeCoverage]
public class TwOverlayTheme
Inheritance
TwOverlayTheme
Inherited Members

Remarks

This is the only overlay theme registered in Components; components retrieve the group they need from it, e.g. Require<TwOverlayTheme>().Popover. Override a property on any group to restyle every dialog/popover/tooltip in the app from one place instead of editing each component's theme individually.

Constructors

TwOverlayTheme()

public TwOverlayTheme()

Properties

Dialog

Gets or sets the modal dialog styling used by TwDialog.

public required TwDialogTheme Dialog { get; set; }

Property Value

TwDialogTheme

Popover

Gets or sets the generic popover panel styling shared by the date, time and color pickers.

public required TwPopoverTheme Popover { get; set; }

Property Value

TwPopoverTheme

Tooltip

Gets or sets the tooltip styling used by TwTooltip and the Tooltip parameter on buttons and icons.

public required TwTooltipTheme Tooltip { get; set; }

Property Value

TwTooltipTheme