wpf-devexpress-dot-xpf-dot-core-dot-theme-0be2a85c.md
The name of the category of Metropolis themes.
Namespace : DevExpress.Xpf.Core
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public const string MetropolisCategory = "Metropolis Themes"
Public Const MetropolisCategory As String = "Metropolis Themes"
| Type |
|---|
| String |
The following code snippets (auto-collected from DevExpress Examples) contain references to the MetropolisCategory 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.
break;
case Theme.MetropolisCategory:
theme.ShowInThemeSelector = false;
wpf-mvvm-behaviors-gallery-based-theme-selector/CS/GalleryThemeSelectorBehavior/App.xaml.cs#L21
break;
case Theme.MetropolisCategory:
theme.ShowInThemeSelector = false;
wpf-mvvm-behaviors-barItems-based-theme-selectors/CS/WpfApplication1/App.xaml.cs#L16
break;
case Theme.MetropolisCategory:
theme.ShowInThemeSelector = false;
wpf-scheduler-disable-resource-colorization/CS/DXSample/App.xaml.cs#L17
Theme.VisualStudioCategory,
Theme.MetropolisCategory
};
theme.ShowInThemeSelector = False
Case Theme.MetropolisCategory
theme.ShowInThemeSelector = False
wpf-mvvm-behaviors-gallery-based-theme-selector/VB/GalleryThemeSelectorBehavior/App.xaml.vb#L18
theme.ShowInThemeSelector = False
Case Theme.MetropolisCategory
theme.ShowInThemeSelector = False
wpf-mvvm-behaviors-barItems-based-theme-selectors/VB/WpfApplication1/App.xaml.vb#L15
theme.ShowInThemeSelector = False
Case Theme.MetropolisCategory
theme.ShowInThemeSelector = False
wpf-scheduler-disable-resource-colorization/VB/DXSample/App.xaml.vb#L16
Private Sub HideClassicThemes()
Dim ModernThemeCaterogies As List(Of String) = New List(Of String)() From {Theme.Office2016Category, Theme.Office2016SECategory, Theme.Office2019Category, Theme.VisualStudioCategory, Theme.MetropolisCategory}
For Each theme As Theme In Theme.Themes
See Also