ThemeColorExtension.Key Property
Gets or sets the theme key of the retrieved color.
Namespace: DevExpress.Maui.Core
Assembly: DevExpress.Maui.Core.dll
NuGet Package: DevExpress.Maui.Core
#Declaration
public ThemeColor Key { get; set; }
#Property Value
Type | Description |
---|---|
Theme |
The theme key. |
Available values:
Name | Description |
---|---|
Primary | Light theme - Primary[40], Dark theme - Primary[80]. |
On |
Light theme - Primary[100], Dark theme - Primary[20]. |
Primary |
Light theme - Primary[90], Dark theme - Primary[30]. |
On |
Light theme - Primary[10], Dark theme - Primary[90]. |
Primary |
Light and Dark themes - Primary[90]. |
On |
Light and Dark themes - Primary[10]. |
Primary |
Light and Dark themes - Primary[80]. |
On |
Light and Dark themes - Primary[30]. |
Secondary | Light theme - Secondary[40], Dark theme - Secondary[80]. |
On |
Light theme - Secondary[100], Dark theme - Secondary[20]. |
Secondary |
Light theme - Secondary[90], Dark theme - Secondary[30]. |
On |
Light theme - Secondary[10], Dark theme - Secondary[90]. |
Secondary |
Light and Dark themes - Secondary[90]. |
On |
Light and Dark themes - Secondary[10]. |
Secondary |
Light and Dark themes - Secondary[80]. |
On |
Light and Dark themes - Secondary[30]. |
Tertiary | Light theme - Tertiary[40], Dark theme - Tertiary[80]. |
On |
Light theme - Tertiary[100], Dark theme - Tertiary[20]. |
Tertiary |
Light theme - Tertiary[90], Dark theme - Tertiary[30]. |
On |
Light theme - Tertiary[10], Dark theme - Tertiary[90]. |
Tertiary |
Light and Dark themes - Tertiary[90]. |
On |
Light and Dark themes - Tertiary[10]. |
Tertiary |
Light and Dark themes - Tertiary[80]. |
On |
Light and Dark themes - Tertiary[30]. |
Error | Light theme - Error[40], Dark theme - Error[80]. |
On |
Light theme - Error[100], Dark theme - Error[20]. |
Error |
Light theme - Error[90], Dark theme - Error[30]. |
On |
Light theme - Error[10], Dark theme - Error[90]. |
Outline | Light theme - Neutral |
Background | Light theme - Neutral[99], Dark theme - Neutral[10]. |
On |
Light theme - Neutral[10], Dark theme - Neutral[90]. |
Surface | Light theme - Neutral[99], Dark theme - Neutral[10]. |
On |
Light theme - Neutral[10], Dark theme - Neutral[80]. |
Surface |
Light theme - Neutral |
On |
Light theme - Neutral |
Inverse |
Light theme - Neutral[20], Dark theme - Neutral[90]. |
Inverse |
Light theme - Neutral[95], Dark theme - Neutral[20]. |
Inverse |
Light theme - Primary[80], Dark theme - Primary[40]. |
Shadow | Light and Dark themes - Neutral[0]. |
Scrim | Light and Dark themes - Neutral[0]. |
Surface |
Light theme - Primary[40], Dark theme - Primary[80]. |
Outline |
Light theme - Neutral |
Surface |
Light theme - Neutral[90], Dark theme - Neutral[22]. |
Surface |
Light theme - Neutral[92], Dark theme - Neutral[17]. |
Surface |
Light theme - Neutral[94], Dark theme - Neutral[12]. |
Surface |
Light theme - Neutral[96], Dark theme - Neutral[10]. |
Surface |
Light theme - Neutral[100], Dark theme - Neutral[4]. |
Surface |
Light theme - Neutral[98], Dark theme - Neutral[24]. |
Surface |
Light theme - Neutral[87], Dark theme - Neutral[6]. |