Back to Devexpress

Theme.MetropolisCategory Field

wpf-devexpress-dot-xpf-dot-core-dot-theme-0be2a85c.md

latest4.5 KB
Original Source

Theme.MetropolisCategory Field

The name of the category of Metropolis themes.

Namespace : DevExpress.Xpf.Core

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public const string MetropolisCategory = "Metropolis Themes"
vb
Public Const MetropolisCategory As String = "Metropolis Themes"

Field Value

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.

wpf-mvvm-behaviors-hamburger-based-theme-selector/CS/HamburgerSubMenuThemeSelectorBehavior/App.xaml.cs#L17

csharp
break;
case Theme.MetropolisCategory:
    theme.ShowInThemeSelector = false;

wpf-mvvm-behaviors-gallery-based-theme-selector/CS/GalleryThemeSelectorBehavior/App.xaml.cs#L21

csharp
break;
case Theme.MetropolisCategory:
    theme.ShowInThemeSelector = false;

wpf-mvvm-behaviors-barItems-based-theme-selectors/CS/WpfApplication1/App.xaml.cs#L16

csharp
break;
case Theme.MetropolisCategory:
    theme.ShowInThemeSelector = false;

wpf-scheduler-disable-resource-colorization/CS/DXSample/App.xaml.cs#L17

csharp
Theme.VisualStudioCategory,
    Theme.MetropolisCategory
};

wpf-mvvm-behaviors-hamburger-based-theme-selector/VB/HamburgerSubMenuThemeSelectorBehavior/App.xaml.vb#L18

vb
theme.ShowInThemeSelector = False
Case Theme.MetropolisCategory
    theme.ShowInThemeSelector = False

wpf-mvvm-behaviors-gallery-based-theme-selector/VB/GalleryThemeSelectorBehavior/App.xaml.vb#L18

vb
theme.ShowInThemeSelector = False
Case Theme.MetropolisCategory
    theme.ShowInThemeSelector = False

wpf-mvvm-behaviors-barItems-based-theme-selectors/VB/WpfApplication1/App.xaml.vb#L15

vb
theme.ShowInThemeSelector = False
Case Theme.MetropolisCategory
    theme.ShowInThemeSelector = False

wpf-scheduler-disable-resource-colorization/VB/DXSample/App.xaml.vb#L16

vb
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

Theme Class

Theme Members

DevExpress.Xpf.Core Namespace