Class TwBlazorShadow
- Namespace
- TwBlazor.Configuration
- Assembly
- TwBlazor.dll
Global configuration for the shadow (elevation) scale shared by all components.
[ExcludeFromCodeCoverage]
public class TwBlazorShadow
- Inheritance
-
TwBlazorShadow
- Inherited Members
Constructors
TwBlazorShadow()
public TwBlazorShadow()
Properties
ActiveMd
Gets or sets the active shadow class.
public string ActiveMd { get; set; }
Property Value
DefaultShadow
Gets or sets the default shadow (elevation) for all components.
public Shadow DefaultShadow { get; set; }
Property Value
Remarks
Default is Sm (2dp elevation). Individual components can override this setting.
HoverLg
Gets or sets the hover shadow class for lg shadow level.
public string HoverLg { get; set; }
Property Value
HoverMd
Gets or sets the hover shadow class for md shadow level.
public string HoverMd { get; set; }
Property Value
HoverSm
Gets or sets the hover shadow class for sm shadow level.
public string HoverSm { get; set; }
Property Value
Lg
Gets or sets the value of the "lg" shadow, which represents a large shadow or elevation.
public string Lg { get; set; }
Property Value
Md
Gets or sets the value of the "md" shadow, which represents a medium shadow or elevation.
public string Md { get; set; }
Property Value
None
Gets or sets the value of the "none" shadow, which represents no shadow or elevation.
public string None { get; set; }
Property Value
Sm
Gets or sets the value of the "sm" shadow, which represents a small shadow or elevation.
public string Sm { get; set; }
Property Value
Xl
Gets or sets the value of the "xl" shadow, which represents an extra-large shadow or elevation.
public string Xl { get; set; }