Class ThemesDictionary
Provides a dictionary implementation that contains WPF UI
theme resources used by components and other elements of a WPF application.
[Localizability(LocalizationCategory.Ignore)]
public class ThemesDictionary : ResourceDictionary, IDictionary, ICollection, IEnumerable, ISupportInitialize, IUriContext, INameScope
- Inheritance
-
ThemesDictionary
- Implements
- Inherited Members
Examples
<Application
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ui:ThemesDictionary Theme = "Dark" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
Constructors
ThemesDictionary()
public ThemesDictionary()
Properties
Theme
Sets the default application theme.
public ApplicationTheme Theme { set; }