Method | Description | |
---|---|---|
Initialize ( ) : void |
Initializes the Theme Manager, reloading themes and accents, and applying custom styling.
|
|
LoadResources ( string key, System.Windows.ResourceDictionary resourceDictionary ) : void |
Loads the specified resource dictionary using the specified key into the application's current merged dictionaries.
|
|
TryGetAccent ( string name ) : Maybe |
Gets an accent color with the specified name, if it exists.
|
|
TryGetTheme ( string name ) : Maybe |
Gets a theme with the specified name, if it exists.
|
Method | Description | |
---|---|---|
ReloadAccents ( ) : void | ||
ReloadThemes ( ) : void |
public static LoadResources ( string key, System.Windows.ResourceDictionary resourceDictionary ) : void | ||
key | string | The key. |
resourceDictionary | System.Windows.ResourceDictionary | The resource dictionary. |
return | void |
public static TryGetAccent ( string name ) : Maybe |
||
name | string | The name. |
return | Maybe |
public static TryGetTheme ( string name ) : Maybe |
||
name | string | The name. |
return | Maybe |