C# Class MissionPlanner.Utilities.ThemeManager

Helper class for the stylng 'theming' of forms and controls, and provides MessageBox replacements which are also styled
Afficher le fichier Open project: ArduPilot/MissionPlanner

Méthodes publiques

Свойство Type Description
BGColor Color
BGColorTextBox Color
BSVButtonAreaBGColor Color
BannerColor1 Color
BannerColor2 Color
ButBG Color
ButBGBot Color
ButBorder Color
ButtonTextColor Color
ColorMouseDown Color
ColorMouseOver Color
ColorNotEnabled Color
ControlBGColor Color
CurrentPPMBackground Color
HorizontalPBValueColor Color
ProgressBarColorBot Color
ProgressBarColorTop Color
ProgressBarOutlineColor Color
RTBForeColor Color
TextColor Color
UnselectedTextColour Color
ZedGraphChartFill Color
ZedGraphLegendFill Color
ZedGraphPaneFill Color

Méthodes publiques

Méthode Description
ApplyThemeTo ( Control control ) : void

Will recursively apply the current theme to 'control'

ApplyThemeTo ( object control ) : void
CustomColor ( ) : void
SetTheme ( Themes theme ) : void

Change the current theme. Existing controls are not affected

doxamlgen ( ) : void
xaml ( Control control ) : void

Private Methods

Méthode Description
ApplyCustomTheme ( Control temp, int level ) : void
ApplyTestTheme ( Control temp, int level ) : void
ApplyTheme ( Control temp, int level ) : void
SetBurntKermitColors ( ) : void
SetHighContrastColours ( ) : void
doxamlctls ( Control control, StreamWriter st ) : void

Method Details

ApplyThemeTo() public static méthode

Will recursively apply the current theme to 'control'
public static ApplyThemeTo ( Control control ) : void
control System.Windows.Forms.Control
Résultat void

ApplyThemeTo() public static méthode

public static ApplyThemeTo ( object control ) : void
control object
Résultat void

CustomColor() public static méthode

public static CustomColor ( ) : void
Résultat void

SetTheme() public static méthode

Change the current theme. Existing controls are not affected
public static SetTheme ( Themes theme ) : void
theme Themes
Résultat void

doxamlgen() public static méthode

public static doxamlgen ( ) : void
Résultat void

xaml() public static méthode

public static xaml ( Control control ) : void
control System.Windows.Forms.Control
Résultat void

Property Details

BGColor public_oe static_oe property

public static Color BGColor
Résultat Color

BGColorTextBox public_oe static_oe property

public static Color BGColorTextBox
Résultat Color

BSVButtonAreaBGColor public_oe static_oe property

public static Color BSVButtonAreaBGColor
Résultat Color

BannerColor1 public_oe static_oe property

public static Color BannerColor1
Résultat Color

BannerColor2 public_oe static_oe property

public static Color BannerColor2
Résultat Color

ButBG public_oe static_oe property

public static Color ButBG
Résultat Color

ButBGBot public_oe static_oe property

public static Color ButBGBot
Résultat Color

ButBorder public_oe static_oe property

public static Color ButBorder
Résultat Color

ButtonTextColor public_oe static_oe property

public static Color ButtonTextColor
Résultat Color

ColorMouseDown public_oe static_oe property

public static Color ColorMouseDown
Résultat Color

ColorMouseOver public_oe static_oe property

public static Color ColorMouseOver
Résultat Color

ColorNotEnabled public_oe static_oe property

public static Color ColorNotEnabled
Résultat Color

ControlBGColor public_oe static_oe property

public static Color ControlBGColor
Résultat Color

CurrentPPMBackground public_oe static_oe property

public static Color CurrentPPMBackground
Résultat Color

HorizontalPBValueColor public_oe static_oe property

public static Color HorizontalPBValueColor
Résultat Color

ProgressBarColorBot public_oe static_oe property

public static Color ProgressBarColorBot
Résultat Color

ProgressBarColorTop public_oe static_oe property

public static Color ProgressBarColorTop
Résultat Color

ProgressBarOutlineColor public_oe static_oe property

public static Color ProgressBarOutlineColor
Résultat Color

RTBForeColor public_oe static_oe property

public static Color RTBForeColor
Résultat Color

TextColor public_oe static_oe property

public static Color TextColor
Résultat Color

UnselectedTextColour public_oe static_oe property

public static Color UnselectedTextColour
Résultat Color

ZedGraphChartFill public_oe static_oe property

public static Color ZedGraphChartFill
Résultat Color

ZedGraphLegendFill public_oe static_oe property

public static Color ZedGraphLegendFill
Résultat Color

ZedGraphPaneFill public_oe static_oe property

public static Color ZedGraphPaneFill
Résultat Color