blazor-devexpress-dot-blazor-dot-themefluentproperties-3023c1fc.md
Specifies the theme mode (light or dark).
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.Resources.v25.2.dll
NuGet Package : DevExpress.Blazor.Resources
public ThemeMode Mode { get; set; }
| Type | Description |
|---|---|
| ThemeMode |
The theme mode.
|
Available values:
| Name | Description |
|---|---|
| Light |
Light theme mode.
| | Dark |
Dark theme mode.
|
Refer to the ThemeFluentProperties class description for additional information and an example.
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.
blazor-editable-grid-with-expandoobject/CS/Expando/Services/DxThemes.cs#L8
public static readonly ITheme FluentDark = Themes.Fluent.Clone(properties => {
properties.Mode = ThemeMode.Dark;
AddFluentTheme(properties);
blazor-grid-customize-group-summaries/CS/GroupSummaries/Services/DxThemes.cs#L8
public static readonly ITheme FluentDark = Themes.Fluent.Clone(properties => {
properties.Mode = ThemeMode.Dark;
AddFluentTheme(properties);
blazor-use-devextreme-diagram/CS/DiagramBlazorApp/Services/DxThemes.cs#L8
public static readonly ITheme FluentDark = Themes.Fluent.Clone(properties => {
properties.Mode = ThemeMode.Dark;
AddFluentTheme(properties);
public static readonly ITheme FluentDark = Themes.Fluent.Clone(properties => {
properties.Mode = ThemeMode.Dark;
AddFluentTheme(properties);
blazor-richedit-place-control-in-edit-form/CS/Services/DxThemes.cs#L10
{
properties.Mode = ThemeMode.Dark;
AddFluentTheme(properties);
See Also