C# Class PCSX2Bonus.UserStyles

Inheritance: INotifyPropertyChanged
Show file Open project: CyberFoxHax/PCSXBonus Class Usage Examples

Public Properties

Property Type Description
ButtonBackgroundBrush System.Windows.Media.SolidColorBrush
ButtonDisabledBrush System.Windows.Media.SolidColorBrush
ButtonFontBrush System.Windows.Media.SolidColorBrush
ButtonFontDisabledBrush System.Windows.Media.SolidColorBrush
ButtonFontFamily FontFamily
ButtonFontMouseOverBrush System.Windows.Media.SolidColorBrush
ButtonFontSize double
ButtonFontWeight System.Windows.FontWeight
ButtonMouseOverBrush System.Windows.Media.SolidColorBrush
ButtonPressedBrush System.Windows.Media.SolidColorBrush
CheckBoxBackgroundBrush System.Windows.Media.SolidColorBrush
CheckBoxBorderBrush System.Windows.Media.SolidColorBrush
CheckBoxBorderThickness System.Windows.Thickness
CheckBoxFontBrush System.Windows.Media.SolidColorBrush
CheckBoxFontFamily FontFamily
CheckBoxFontMouseOverBrush System.Windows.Media.SolidColorBrush
CheckBoxFontSize double
CheckBoxFontWeight System.Windows.FontWeight
CheckBoxMouseOverBrush System.Windows.Media.SolidColorBrush
ComboBoxBackgroundBrush System.Windows.Media.SolidColorBrush
ComboBoxBorderBrush System.Windows.Media.SolidColorBrush
ComboBoxBorderThickness System.Windows.Thickness
ComboBoxFontBrush System.Windows.Media.SolidColorBrush
ComboBoxFontFamily FontFamily
ComboBoxFontMouseOverBrush System.Windows.Media.SolidColorBrush
ComboBoxFontSize double
ComboBoxFontWeight System.Windows.FontWeight
ComboBoxMouseOverBrush System.Windows.Media.SolidColorBrush
ComboBoxSubBackgroundBrush System.Windows.Media.SolidColorBrush
ComboBoxSubFontBrush System.Windows.Media.SolidColorBrush
ComboBoxSubFontFamily FontFamily
ComboBoxSubFontMouseOverBrush System.Windows.Media.SolidColorBrush
ComboBoxSubFontSize double
ComboBoxSubFontWeight System.Windows.FontWeight
ComboBoxSubMouseOverBrush System.Windows.Media.SolidColorBrush
GridViewHeaderBackgroundBrush System.Windows.Media.SolidColorBrush
GridViewHeaderBorderBrush System.Windows.Media.SolidColorBrush
GridViewHeaderBorderThickness System.Windows.Thickness
GridViewHeaderFontBrush System.Windows.Media.SolidColorBrush
GridViewHeaderFontFamily FontFamily
GridViewHeaderFontSize double
GridViewHeaderFontWeight System.Windows.FontWeight
GridViewMouseOverBrush System.Windows.Media.SolidColorBrush
ListViewAlternateRowBrush System.Windows.Media.SolidColorBrush
ListViewBackgroundBrush System.Windows.Media.SolidColorBrush
ListViewFontBrush System.Windows.Media.SolidColorBrush
ListViewFontFamily FontFamily
ListViewFontMouseOverBrush System.Windows.Media.SolidColorBrush
ListViewFontSelectionBrush System.Windows.Media.SolidColorBrush
ListViewFontSize double
ListViewFontWeight System.Windows.FontWeight
ListViewImageHeight double
ListViewImageSize System.Windows.Size
ListViewImageWidth double
ListViewSelectionBrush System.Windows.Media.SolidColorBrush
MenuFontBrush System.Windows.Media.SolidColorBrush
MenuFontFamily FontFamily
MenuFontMouseOverBrush System.Windows.Media.SolidColorBrush
MenuFontSize double
MenuFontWeight System.Windows.FontWeight
MenuSubBackgroundBrush System.Windows.Media.SolidColorBrush
MenuSubFontBrush System.Windows.Media.SolidColorBrush
MenuSubFontFamily FontFamily
MenuSubFontMouseOverBrush System.Windows.Media.SolidColorBrush
MenuSubFontSize double
MenuSubFontWeight System.Windows.FontWeight
MenuSubMouseOverBrush System.Windows.Media.SolidColorBrush
TabBackgroundBrush System.Windows.Media.SolidColorBrush
TabFontBrush System.Windows.Media.SolidColorBrush
TabFontFamily FontFamily
TabFontMouseOverBrush System.Windows.Media.SolidColorBrush
TabFontSize double
TabFontWeight System.Windows.FontWeight
TabSubBackgroundBrush System.Windows.Media.SolidColorBrush
TabSubFontBrush System.Windows.Media.SolidColorBrush
TabSubFontFamily FontFamily
TabSubFontMouseOverBrush System.Windows.Media.SolidColorBrush
TabSubFontSize double
TabSubFontWeight System.Windows.FontWeight
TabSubSelectionBrush System.Windows.Media.SolidColorBrush
TextBoxBackgroundBrush System.Windows.Media.SolidColorBrush
TextBoxBorderBrush System.Windows.Media.SolidColorBrush
TextBoxBorderThickness System.Windows.Thickness
TextBoxFontBrush System.Windows.Media.SolidColorBrush
TextBoxFontFamily FontFamily
TextBoxFontSize double
TextBoxFontWeight System.Windows.FontWeight
TileViewImageHeight double
TileViewImageSize System.Windows.Size
TileViewImageWidth double
WindowBackgroundBrush System.Windows.Media.SolidColorBrush

Public Methods

Method Description
LoadTheme ( string xmlFile ) : void

Private Methods

Method Description
GetThemeBrush ( string element, string attribute, SolidColorBrush fallback ) : SolidColorBrush
GetThemeDouble ( string element, string attribute, double fallback ) : double
GetThemeFont ( string element, string attribute, FontFamily fallback ) : FontFamily
GetThemeFontWeight ( string element, string attribute, System.Windows.FontWeight fallback ) : System.Windows.FontWeight
GetThemeThickness ( string element, string attribute, System.Windows.Thickness fallback ) : System.Windows.Thickness
GetThemeValue ( string element, string attribute ) : string
OnPropertyChanged ( string property ) : void

Method Details

LoadTheme() public static method

public static LoadTheme ( string xmlFile ) : void
xmlFile string
return void

Property Details

ButtonBackgroundBrush public static property

public static SolidColorBrush,System.Windows.Media ButtonBackgroundBrush
return System.Windows.Media.SolidColorBrush

ButtonDisabledBrush public static property

public static SolidColorBrush,System.Windows.Media ButtonDisabledBrush
return System.Windows.Media.SolidColorBrush

ButtonFontBrush public static property

public static SolidColorBrush,System.Windows.Media ButtonFontBrush
return System.Windows.Media.SolidColorBrush

ButtonFontDisabledBrush public static property

public static SolidColorBrush,System.Windows.Media ButtonFontDisabledBrush
return System.Windows.Media.SolidColorBrush

ButtonFontFamily public static property

public static FontFamily ButtonFontFamily
return FontFamily

ButtonFontMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media ButtonFontMouseOverBrush
return System.Windows.Media.SolidColorBrush

ButtonFontSize public static property

public static double ButtonFontSize
return double

ButtonFontWeight public static property

public static FontWeight,System.Windows ButtonFontWeight
return System.Windows.FontWeight

ButtonMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media ButtonMouseOverBrush
return System.Windows.Media.SolidColorBrush

ButtonPressedBrush public static property

public static SolidColorBrush,System.Windows.Media ButtonPressedBrush
return System.Windows.Media.SolidColorBrush

CheckBoxBackgroundBrush public static property

public static SolidColorBrush,System.Windows.Media CheckBoxBackgroundBrush
return System.Windows.Media.SolidColorBrush

CheckBoxBorderBrush public static property

public static SolidColorBrush,System.Windows.Media CheckBoxBorderBrush
return System.Windows.Media.SolidColorBrush

CheckBoxBorderThickness public static property

public static Thickness,System.Windows CheckBoxBorderThickness
return System.Windows.Thickness

CheckBoxFontBrush public static property

public static SolidColorBrush,System.Windows.Media CheckBoxFontBrush
return System.Windows.Media.SolidColorBrush

CheckBoxFontFamily public static property

public static FontFamily CheckBoxFontFamily
return FontFamily

CheckBoxFontMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media CheckBoxFontMouseOverBrush
return System.Windows.Media.SolidColorBrush

CheckBoxFontSize public static property

public static double CheckBoxFontSize
return double

CheckBoxFontWeight public static property

public static FontWeight,System.Windows CheckBoxFontWeight
return System.Windows.FontWeight

CheckBoxMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media CheckBoxMouseOverBrush
return System.Windows.Media.SolidColorBrush

ComboBoxBackgroundBrush public static property

public static SolidColorBrush,System.Windows.Media ComboBoxBackgroundBrush
return System.Windows.Media.SolidColorBrush

ComboBoxBorderBrush public static property

public static SolidColorBrush,System.Windows.Media ComboBoxBorderBrush
return System.Windows.Media.SolidColorBrush

ComboBoxBorderThickness public static property

public static Thickness,System.Windows ComboBoxBorderThickness
return System.Windows.Thickness

ComboBoxFontBrush public static property

public static SolidColorBrush,System.Windows.Media ComboBoxFontBrush
return System.Windows.Media.SolidColorBrush

ComboBoxFontFamily public static property

public static FontFamily ComboBoxFontFamily
return FontFamily

ComboBoxFontMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media ComboBoxFontMouseOverBrush
return System.Windows.Media.SolidColorBrush

ComboBoxFontSize public static property

public static double ComboBoxFontSize
return double

ComboBoxFontWeight public static property

public static FontWeight,System.Windows ComboBoxFontWeight
return System.Windows.FontWeight

ComboBoxMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media ComboBoxMouseOverBrush
return System.Windows.Media.SolidColorBrush

ComboBoxSubBackgroundBrush public static property

public static SolidColorBrush,System.Windows.Media ComboBoxSubBackgroundBrush
return System.Windows.Media.SolidColorBrush

ComboBoxSubFontBrush public static property

public static SolidColorBrush,System.Windows.Media ComboBoxSubFontBrush
return System.Windows.Media.SolidColorBrush

ComboBoxSubFontFamily public static property

public static FontFamily ComboBoxSubFontFamily
return FontFamily

ComboBoxSubFontMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media ComboBoxSubFontMouseOverBrush
return System.Windows.Media.SolidColorBrush

ComboBoxSubFontSize public static property

public static double ComboBoxSubFontSize
return double

ComboBoxSubFontWeight public static property

public static FontWeight,System.Windows ComboBoxSubFontWeight
return System.Windows.FontWeight

ComboBoxSubMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media ComboBoxSubMouseOverBrush
return System.Windows.Media.SolidColorBrush

GridViewHeaderBackgroundBrush public static property

public static SolidColorBrush,System.Windows.Media GridViewHeaderBackgroundBrush
return System.Windows.Media.SolidColorBrush

GridViewHeaderBorderBrush public static property

public static SolidColorBrush,System.Windows.Media GridViewHeaderBorderBrush
return System.Windows.Media.SolidColorBrush

GridViewHeaderBorderThickness public static property

public static Thickness,System.Windows GridViewHeaderBorderThickness
return System.Windows.Thickness

GridViewHeaderFontBrush public static property

public static SolidColorBrush,System.Windows.Media GridViewHeaderFontBrush
return System.Windows.Media.SolidColorBrush

GridViewHeaderFontFamily public static property

public static FontFamily GridViewHeaderFontFamily
return FontFamily

GridViewHeaderFontSize public static property

public static double GridViewHeaderFontSize
return double

GridViewHeaderFontWeight public static property

public static FontWeight,System.Windows GridViewHeaderFontWeight
return System.Windows.FontWeight

GridViewMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media GridViewMouseOverBrush
return System.Windows.Media.SolidColorBrush

ListViewAlternateRowBrush public static property

public static SolidColorBrush,System.Windows.Media ListViewAlternateRowBrush
return System.Windows.Media.SolidColorBrush

ListViewBackgroundBrush public static property

public static SolidColorBrush,System.Windows.Media ListViewBackgroundBrush
return System.Windows.Media.SolidColorBrush

ListViewFontBrush public static property

public static SolidColorBrush,System.Windows.Media ListViewFontBrush
return System.Windows.Media.SolidColorBrush

ListViewFontFamily public static property

public static FontFamily ListViewFontFamily
return FontFamily

ListViewFontMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media ListViewFontMouseOverBrush
return System.Windows.Media.SolidColorBrush

ListViewFontSelectionBrush public static property

public static SolidColorBrush,System.Windows.Media ListViewFontSelectionBrush
return System.Windows.Media.SolidColorBrush

ListViewFontSize public static property

public static double ListViewFontSize
return double

ListViewFontWeight public static property

public static FontWeight,System.Windows ListViewFontWeight
return System.Windows.FontWeight

ListViewImageHeight public static property

public static double ListViewImageHeight
return double

ListViewImageSize public static property

public static Size,System.Windows ListViewImageSize
return System.Windows.Size

ListViewImageWidth public static property

public static double ListViewImageWidth
return double

ListViewSelectionBrush public static property

public static SolidColorBrush,System.Windows.Media ListViewSelectionBrush
return System.Windows.Media.SolidColorBrush

MenuFontBrush public static property

public static SolidColorBrush,System.Windows.Media MenuFontBrush
return System.Windows.Media.SolidColorBrush

MenuFontFamily public static property

public static FontFamily MenuFontFamily
return FontFamily

MenuFontMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media MenuFontMouseOverBrush
return System.Windows.Media.SolidColorBrush

MenuFontSize public static property

public static double MenuFontSize
return double

MenuFontWeight public static property

public static FontWeight,System.Windows MenuFontWeight
return System.Windows.FontWeight

MenuSubBackgroundBrush public static property

public static SolidColorBrush,System.Windows.Media MenuSubBackgroundBrush
return System.Windows.Media.SolidColorBrush

MenuSubFontBrush public static property

public static SolidColorBrush,System.Windows.Media MenuSubFontBrush
return System.Windows.Media.SolidColorBrush

MenuSubFontFamily public static property

public static FontFamily MenuSubFontFamily
return FontFamily

MenuSubFontMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media MenuSubFontMouseOverBrush
return System.Windows.Media.SolidColorBrush

MenuSubFontSize public static property

public static double MenuSubFontSize
return double

MenuSubFontWeight public static property

public static FontWeight,System.Windows MenuSubFontWeight
return System.Windows.FontWeight

MenuSubMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media MenuSubMouseOverBrush
return System.Windows.Media.SolidColorBrush

TabBackgroundBrush public static property

public static SolidColorBrush,System.Windows.Media TabBackgroundBrush
return System.Windows.Media.SolidColorBrush

TabFontBrush public static property

public static SolidColorBrush,System.Windows.Media TabFontBrush
return System.Windows.Media.SolidColorBrush

TabFontFamily public static property

public static FontFamily TabFontFamily
return FontFamily

TabFontMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media TabFontMouseOverBrush
return System.Windows.Media.SolidColorBrush

TabFontSize public static property

public static double TabFontSize
return double

TabFontWeight public static property

public static FontWeight,System.Windows TabFontWeight
return System.Windows.FontWeight

TabSubBackgroundBrush public static property

public static SolidColorBrush,System.Windows.Media TabSubBackgroundBrush
return System.Windows.Media.SolidColorBrush

TabSubFontBrush public static property

public static SolidColorBrush,System.Windows.Media TabSubFontBrush
return System.Windows.Media.SolidColorBrush

TabSubFontFamily public static property

public static FontFamily TabSubFontFamily
return FontFamily

TabSubFontMouseOverBrush public static property

public static SolidColorBrush,System.Windows.Media TabSubFontMouseOverBrush
return System.Windows.Media.SolidColorBrush

TabSubFontSize public static property

public static double TabSubFontSize
return double

TabSubFontWeight public static property

public static FontWeight,System.Windows TabSubFontWeight
return System.Windows.FontWeight

TabSubSelectionBrush public static property

public static SolidColorBrush,System.Windows.Media TabSubSelectionBrush
return System.Windows.Media.SolidColorBrush

TextBoxBackgroundBrush public static property

public static SolidColorBrush,System.Windows.Media TextBoxBackgroundBrush
return System.Windows.Media.SolidColorBrush

TextBoxBorderBrush public static property

public static SolidColorBrush,System.Windows.Media TextBoxBorderBrush
return System.Windows.Media.SolidColorBrush

TextBoxBorderThickness public static property

public static Thickness,System.Windows TextBoxBorderThickness
return System.Windows.Thickness

TextBoxFontBrush public static property

public static SolidColorBrush,System.Windows.Media TextBoxFontBrush
return System.Windows.Media.SolidColorBrush

TextBoxFontFamily public static property

public static FontFamily TextBoxFontFamily
return FontFamily

TextBoxFontSize public static property

public static double TextBoxFontSize
return double

TextBoxFontWeight public static property

public static FontWeight,System.Windows TextBoxFontWeight
return System.Windows.FontWeight

TileViewImageHeight public static property

public static double TileViewImageHeight
return double

TileViewImageSize public static property

public static Size,System.Windows TileViewImageSize
return System.Windows.Size

TileViewImageWidth public static property

public static double TileViewImageWidth
return double

WindowBackgroundBrush public static property

public static SolidColorBrush,System.Windows.Media WindowBackgroundBrush
return System.Windows.Media.SolidColorBrush