Back to Devexpress

Theme.Office2019Black Field

wpf-devexpress-dot-xpf-dot-core-dot-theme-dot-office2019black.md

latest2.4 KB
Original Source

Theme.Office2019Black Field

The Office2019Black theme.

Namespace : DevExpress.Xpf.Core

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public static Theme Office2019Black
vb
Public Shared Office2019Black As Theme

Field Value

Type
Theme

Remarks

Use the Office2019BlackName field to apply the theme.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Office2019Black field.

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.

wpf-create-a-fluent-design-using-appearance-options/CS/FluentDesignTemplate/App.xaml.cs#L34

csharp
custompalette.SetColor("SelectionForeground", (Color)ColorConverter.ConvertFromString("White"));
var customtheme = Theme.CreateTheme(custompalette, Theme.Office2019Black);
Theme.RegisterTheme(customtheme);

wpf-create-a-fluent-design-using-appearance-options/VB/FluentDesignTemplate/App.xaml.vb#L29

vb
custompalette.SetColor("SelectionForeground", CType(ColorConverter.ConvertFromString("White"), Color))
Dim customtheme = Theme.CreateTheme(custompalette, Theme.Office2019Black)
Theme.RegisterTheme(customtheme)

See Also

Theme Class

Theme Members

DevExpress.Xpf.Core Namespace