Method | Description | |
---|---|---|
FromIdentifier ( string identifier ) : |
Returns the theme for the specified identifier, or
|
|
FromTheme ( ThemeType type, string identifier, string name, |
Returns a Theme that is a copy of another Theme.
|
|
FromThemeInfo ( |
Returns a Theme for the specified ThemeInfo, or
|
|
GetPalette ( ) : Color[] |
Returns the unique colors used in this theme.
|
|
Set ( |
Sets all of the properties, except for Type and Identifier, from another instance of the Theme class.
|
|
Theme ( |
Initializes a new instance of the Theme class from a ThemeInfo.
|
|
Theme ( ThemeType type, string identifier, string name, Color backgroundColor, Color progressBarColor, Color progressBackgroundColor, Color expirationFlashColor, Color primaryTextColor, Color primaryHintColor, Color secondaryTextColor, Color secondaryHintColor, Color buttonColor, Color buttonHoverColor ) : System.ComponentModel |
Initializes a new instance of the Theme class.
|
|
Theme ( ThemeType type, string identifier, string name, |
Initializes a new instance of the Theme class.
|
|
Theme ( ThemeType type, string identifier, string name, string backgroundColor, string progressBarColor, string progressBackgroundColor, string expirationFlashColor, string primaryTextColor, string primaryHintColor, string secondaryTextColor, string secondaryHintColor, string buttonColor, string buttonHoverColor ) : System.ComponentModel |
Initializes a new instance of the Theme class.
|
|
ToThemeInfo ( ) : |
Returns the representation of the Theme used for XML serialization.
|
Method | Description | |
---|---|---|
OnPropertyChanged ( ) : void |
Raises the PropertyChanged event.
|
public static FromIdentifier ( string identifier ) : |
||
identifier | string | The identifier for the theme. |
return |
public static FromTheme ( ThemeType type, string identifier, string name, |
||
type | ThemeType | The type of this theme. |
identifier | string | A unique identifier for this theme. |
name | string | The friendly name for this theme, or |
theme | A theme from which to copy colors. | |
return |
public static FromThemeInfo ( |
||
info | A |
|
return |
public Set ( |
||
theme | Another instance of the |
|
return | void |
public Theme ( |
||
info | A |
|
return | System.ComponentModel |
public Theme ( ThemeType type, string identifier, string name, Color backgroundColor, Color progressBarColor, Color progressBackgroundColor, Color expirationFlashColor, Color primaryTextColor, Color primaryHintColor, Color secondaryTextColor, Color secondaryHintColor, Color buttonColor, Color buttonHoverColor ) : System.ComponentModel | ||
type | ThemeType | The type of this theme. |
identifier | string | A unique identifier for this theme. |
name | string | The friendly name for this theme, or |
backgroundColor | Color | The background color of the window. |
progressBarColor | Color | The color of the progress bar. |
progressBackgroundColor | Color | The background color of the progress bar. |
expirationFlashColor | Color | The color that is flashed on expiration. |
primaryTextColor | Color | The color of the primary text. |
primaryHintColor | Color | The color of the watermark in the primary text box. |
secondaryTextColor | Color | The color of any secondary text. |
secondaryHintColor | Color | The color of the watermark in any secondary text box. |
buttonColor | Color | The color of the button text. |
buttonHoverColor | Color | The color of the button text when the user hovers over the button. |
return | System.ComponentModel |
public Theme ( ThemeType type, string identifier, string name, |
||
type | ThemeType | The type of this theme. |
identifier | string | A unique identifier for this theme. |
name | string | The friendly name for this theme, or |
theme | A theme from which to copy colors. | |
return | System.ComponentModel |
public Theme ( ThemeType type, string identifier, string name, string backgroundColor, string progressBarColor, string progressBackgroundColor, string expirationFlashColor, string primaryTextColor, string primaryHintColor, string secondaryTextColor, string secondaryHintColor, string buttonColor, string buttonHoverColor ) : System.ComponentModel | ||
type | ThemeType | The type of this theme. |
identifier | string | A unique identifier for this theme. |
name | string | The friendly name for this theme, or |
backgroundColor | string | The background color of the window. |
progressBarColor | string | The color of the progress bar. |
progressBackgroundColor | string | The background color of the progress bar. |
expirationFlashColor | string | The color that is flashed on expiration. |
primaryTextColor | string | The color of the primary text. |
primaryHintColor | string | The color of the watermark in the primary text box. |
secondaryTextColor | string | The color of any secondary text. |
secondaryHintColor | string | The color of the watermark in any secondary text box. |
buttonColor | string | The color of the button text. |
buttonHoverColor | string | The color of the button text when the user hovers over the button. |
return | System.ComponentModel |
public ToThemeInfo ( ) : |
||
return |