ThemeFluentProperties.Mode Property
Specifies the theme mode (light or dark).
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.Resources.v26.1.dll
NuGet Package: DevExpress.Blazor.Resources
Declaration
public ThemeMode Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| ThemeMode | The theme mode. |
Available values:
| Name | Description |
|---|---|
| Light | Light theme mode. |
| Dark | Dark theme mode. |
Remarks
Refer to the ThemeFluentProperties class description for additional information and an example.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Mode property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.