Class DictionaryTheme
Defines a base class to implement a method for storing the current H.Controls.Dock theme that provides a XAML Uri pointing to a ResourceDictionary.
This class can be used to create customized themes by loading a <xref href="System.Windows.ResourceDictionary" data-throw-if-not-resolved="false"></xref>
from an existing theme (by using theme.GetResourceUri()), and then replacing some key colors
(typically the "Accent" colors).
See Issue https://github.com/Dirkster99/H.Controls.Dock/issues/189 for more details.
public abstract class DictionaryTheme : Theme
- Inheritance
-
DictionaryTheme
- Inherited Members
- Extension Methods
Constructors
DictionaryTheme()
Class constructor
public DictionaryTheme()
DictionaryTheme(ResourceDictionary)
Class constructor from theme specific resource dictionary.
public DictionaryTheme(ResourceDictionary themeResourceDictionary)
Parameters
themeResourceDictionary
ResourceDictionary
Properties
ThemeResourceDictionary
Gets the resource dictionary that is associated with this H.Controls.Dock theme.
public ResourceDictionary ThemeResourceDictionary { get; }
Property Value
Methods
GetResourceUri()
Gets the Uri of the XAML that contains the definition for this H.Controls.Dock theme.
public override Uri GetResourceUri()