Back to Devexpress

Theme.ShowInThemeSelector Field

wpf-devexpress-dot-xpf-dot-core-dot-theme-650d5275.md

latest4.4 KB
Original Source

Theme.ShowInThemeSelector Field

Specifies whether the current theme is available in the smart tag menu at design time.

Namespace : DevExpress.Xpf.Core

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool ShowInThemeSelector
vb
Public ShowInThemeSelector As Boolean

Field Value

Type
Boolean

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowInThemeSelector 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#L15

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

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

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

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

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

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

csharp
foreach (Theme theme in Theme.Themes) {
    theme.ShowInThemeSelector = ModernThemeCaterogies.Contains(theme.Category);
}

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

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

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

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

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

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

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

vb
For Each theme As Theme In Theme.Themes
    theme.ShowInThemeSelector = ModernThemeCaterogies.Contains(theme.Category)
Next

See Also

Theme Class

Theme Members

DevExpress.Xpf.Core Namespace