Property | Type | Description | |
---|---|---|---|
Instance |
Method | Description | |
---|---|---|
Add ( |
Adds a theme.
|
|
AddRange ( IEnumerable |
Adds the themes of the specified collection.
|
|
AddThemeBasedOnTheme ( |
Adds a theme based on another theme.
|
|
GetDarkVariantForTheme ( |
Returns the dark variant of a theme.
|
|
GetLightVariantForTheme ( |
Returns the light variant of a theme.
|
|
GetThemeByIdentifier ( string identifier ) : |
Returns the theme for the specified identifier, or
|
|
GetThemeByName ( string name, System.StringComparison stringComparison = StringComparison.Ordinal ) : |
Returns the first theme for the specified name, or
|
|
GetThemeOrDefaultByIdentifier ( string identifier ) : |
Returns the theme for the specified identifier, or DefaultTheme if no such theme is loaded.
|
|
GetThemeOrDefaultByName ( string name, System.StringComparison stringComparison = StringComparison.Ordinal ) : |
Returns the first theme for the specified name, or DefaultTheme if no such theme is loaded.
|
|
Initialize ( ) : void |
Initializes the class.
|
|
Persist ( ) : void |
Persists the state of the class.
|
|
Remove ( |
Removes a theme, and updates any timers using the theme to use the default theme.
|
Method | Description | |
---|---|---|
GetBuiltInThemes ( ) : IList |
Loads the collection of themes defined in the assembly.
|
|
GetUserProvidedThemes ( ) : IList |
Loads the collection of themes defined by the user.
|
|
ThemeManager ( ) : System |
Prevents a default instance of the ThemeManager class from being created.
|
public AddRange ( IEnumerable |
||
collection | IEnumerable |
A collection of |
return | void |
public AddThemeBasedOnTheme ( |
||
theme | A |
|
return |
public GetDarkVariantForTheme ( |
||
theme | A theme. | |
return |
public GetLightVariantForTheme ( |
||
theme | A theme. | |
return |
public GetThemeByIdentifier ( string identifier ) : |
||
identifier | string | The identifier for the theme. |
return |
public GetThemeByName ( string name, System.StringComparison stringComparison = StringComparison.Ordinal ) : |
||
name | string | The name for the theme. |
stringComparison | System.StringComparison | One of the enumeration values that specifies how the strings will be /// compared. |
return |
public GetThemeOrDefaultByIdentifier ( string identifier ) : |
||
identifier | string | The identifier for the theme. |
return |
public GetThemeOrDefaultByName ( string name, System.StringComparison stringComparison = StringComparison.Ordinal ) : |
||
name | string | The name for the theme. |
stringComparison | System.StringComparison | One of the enumeration values that specifies how the strings will be /// compared. |
return |
public Remove ( |
||
theme | A |
|
return | void |