Skip to main content
ON

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
ThemeColor

The theme key.

Available values:

Show 49 items
Name Description
Primary

Light theme - Primary[40], Dark theme - Primary[80].

OnPrimary

Light theme - Primary[100], Dark theme - Primary[20].

PrimaryContainer

Light theme - Primary[90], Dark theme - Primary[30].

OnPrimaryContainer

Light theme - Primary[10], Dark theme - Primary[90].

PrimaryFixed

Light and Dark themes - Primary[90].

OnPrimaryFixed

Light and Dark themes - Primary[10].

PrimaryFixedDim

Light and Dark themes - Primary[80].

OnPrimaryFixedVariant

Light and Dark themes - Primary[30].

Secondary

Light theme - Secondary[40], Dark theme - Secondary[80].

OnSecondary

Light theme - Secondary[100], Dark theme - Secondary[20].

SecondaryContainer

Light theme - Secondary[90], Dark theme - Secondary[30].

OnSecondaryContainer

Light theme - Secondary[10], Dark theme - Secondary[90].

SecondaryFixed

Light and Dark themes - Secondary[90].

OnSecondaryFixed

Light and Dark themes - Secondary[10].

SecondaryFixedDim

Light and Dark themes - Secondary[80].

OnSecondaryFixedVariant

Light and Dark themes - Secondary[30].

Tertiary

Light theme - Tertiary[40], Dark theme - Tertiary[80].

OnTertiary

Light theme - Tertiary[100], Dark theme - Tertiary[20].

TertiaryContainer

Light theme - Tertiary[90], Dark theme - Tertiary[30].

OnTertiaryContainer

Light theme - Tertiary[10], Dark theme - Tertiary[90].

TertiaryFixed

Light and Dark themes - Tertiary[90].

OnTertiaryFixed

Light and Dark themes - Tertiary[10].

TertiaryFixedDim

Light and Dark themes - Tertiary[80].

OnTertiaryFixedVariant

Light and Dark themes - Tertiary[30].

Error

Light theme - Error[40], Dark theme - Error[80].

OnError

Light theme - Error[100], Dark theme - Error[20].

ErrorContainer

Light theme - Error[90], Dark theme - Error[30].

OnErrorContainer

Light theme - Error[10], Dark theme - Error[90].

Outline

Light theme - NeutralVariant[50], Dark theme - NeutralVariant[60].

Background

Light theme - Neutral[99], Dark theme - Neutral[10].

OnBackground

Light theme - Neutral[10], Dark theme - Neutral[90].

Surface

Light theme - Neutral[99], Dark theme - Neutral[10].

OnSurface

Light theme - Neutral[10], Dark theme - Neutral[80].

SurfaceVariant

Light theme - NeutralVariant[90], Dark theme - NeutralVariant[30].

OnSurfaceVariant

Light theme - NeutralVariant[30], Dark theme - NeutralVariant[80].

InverseSurface

Light theme - Neutral[20], Dark theme - Neutral[90].

InverseOnSurface

Light theme - Neutral[95], Dark theme - Neutral[20].

InversePrimary

Light theme - Primary[80], Dark theme - Primary[40].

Shadow

Light and Dark themes - Neutral[0].

Scrim

Light and Dark themes - Neutral[0].

SurfaceTint

Light theme - Primary[40], Dark theme - Primary[80].

OutlineVariant

Light theme - NeutralVariant[80], Dark theme - NeutralVariant[30].

SurfaceContainerHighest

Light theme - Neutral[90], Dark theme - Neutral[22].

SurfaceContainerHigh

Light theme - Neutral[92], Dark theme - Neutral[17].

SurfaceContainer

Light theme - Neutral[94], Dark theme - Neutral[12].

SurfaceContainerLow

Light theme - Neutral[96], Dark theme - Neutral[10].

SurfaceContainerLowest

Light theme - Neutral[100], Dark theme - Neutral[4].

SurfaceBright

Light theme - Neutral[98], Dark theme - Neutral[24].

SurfaceDim

Light theme - Neutral[87], Dark theme - Neutral[6].

See Also