C# Class MaterialSkin.MaterialSkinManager

Mostra file Open project: SkiTiSu/BiliRanking Class Usage Examples

Public Properties

Property Type Description
ACTION_BAR_TEXT Color
ACTION_BAR_TEXT_BRUSH System.Drawing.Brush
ACTION_BAR_TEXT_SECONDARY Color
ACTION_BAR_TEXT_SECONDARY_BRUSH System.Drawing.Brush
FORM_PADDING int
ROBOTO_MEDIUM_10 System.Drawing.Font
ROBOTO_MEDIUM_11 System.Drawing.Font
ROBOTO_MEDIUM_12 System.Drawing.Font
ROBOTO_REGULAR_11 System.Drawing.Font
SECONDARY_TEXT_BLACK Color
SECONDARY_TEXT_BLACK_BRUSH System.Drawing.Brush
SECONDARY_TEXT_WHITE Color
SECONDARY_TEXT_WHITE_BRUSH System.Drawing.Brush

Public Methods

Method Description
AddFormToManage ( MaterialSkin.Controls.MaterialForm materialForm ) : void
GetApplicationBackgroundColor ( ) : Color
GetCheckBoxOffDisabledBrush ( ) : Brush
GetCheckBoxOffDisabledColor ( ) : Color
GetCheckboxOffBrush ( ) : Brush
GetCheckboxOffColor ( ) : Color
GetCmsSelectedItemBrush ( ) : Brush
GetDisabledOrHintBrush ( ) : Brush
GetDisabledOrHintColor ( ) : Color
GetDividersBrush ( ) : Brush
GetDividersColor ( ) : Color
GetFlatButtonDisabledTextBrush ( ) : Brush
GetFlatButtonHoverBackgroundBrush ( ) : Brush
GetFlatButtonHoverBackgroundColor ( ) : Color
GetFlatButtonPressedBackgroundBrush ( ) : Brush
GetFlatButtonPressedBackgroundColor ( ) : Color
GetPrimaryTextBrush ( ) : Brush
GetPrimaryTextColor ( ) : Color
GetRaisedButtonBackgroundBrush ( ) : Brush
GetRaisedButtonTextBrush ( bool primary ) : Brush
GetSecondaryTextBrush ( ) : Brush
GetSecondaryTextColor ( ) : Color
RemoveFormToManage ( MaterialSkin.Controls.MaterialForm materialForm ) : void

Private Methods

Method Description
AddFontMemResourceEx ( IntPtr pbFont, uint cbFont, IntPtr pvd, [ pcFonts ) : IntPtr
LoadFont ( byte fontResource ) : FontFamily
MaterialSkinManager ( ) : System
UpdateBackgrounds ( ) : void
UpdateControl ( Control controlToUpdate, Color newBackColor ) : void
UpdateToolStrip ( ToolStrip toolStrip, Color newBackColor ) : void

Method Details

AddFormToManage() public method

public AddFormToManage ( MaterialSkin.Controls.MaterialForm materialForm ) : void
materialForm MaterialSkin.Controls.MaterialForm
return void

GetApplicationBackgroundColor() public method

public GetApplicationBackgroundColor ( ) : Color
return Color

GetCheckBoxOffDisabledBrush() public method

public GetCheckBoxOffDisabledBrush ( ) : Brush
return System.Drawing.Brush

GetCheckBoxOffDisabledColor() public method

public GetCheckBoxOffDisabledColor ( ) : Color
return Color

GetCheckboxOffBrush() public method

public GetCheckboxOffBrush ( ) : Brush
return System.Drawing.Brush

GetCheckboxOffColor() public method

public GetCheckboxOffColor ( ) : Color
return Color

GetCmsSelectedItemBrush() public method

public GetCmsSelectedItemBrush ( ) : Brush
return System.Drawing.Brush

GetDisabledOrHintBrush() public method

public GetDisabledOrHintBrush ( ) : Brush
return System.Drawing.Brush

GetDisabledOrHintColor() public method

public GetDisabledOrHintColor ( ) : Color
return Color

GetDividersBrush() public method

public GetDividersBrush ( ) : Brush
return System.Drawing.Brush

GetDividersColor() public method

public GetDividersColor ( ) : Color
return Color

GetFlatButtonDisabledTextBrush() public method

public GetFlatButtonDisabledTextBrush ( ) : Brush
return System.Drawing.Brush

GetFlatButtonHoverBackgroundBrush() public method

public GetFlatButtonHoverBackgroundBrush ( ) : Brush
return System.Drawing.Brush

GetFlatButtonHoverBackgroundColor() public method

public GetFlatButtonHoverBackgroundColor ( ) : Color
return Color

GetFlatButtonPressedBackgroundBrush() public method

public GetFlatButtonPressedBackgroundBrush ( ) : Brush
return System.Drawing.Brush

GetFlatButtonPressedBackgroundColor() public method

public GetFlatButtonPressedBackgroundColor ( ) : Color
return Color

GetPrimaryTextBrush() public method

public GetPrimaryTextBrush ( ) : Brush
return System.Drawing.Brush

GetPrimaryTextColor() public method

public GetPrimaryTextColor ( ) : Color
return Color

GetRaisedButtonBackgroundBrush() public method

public GetRaisedButtonBackgroundBrush ( ) : Brush
return System.Drawing.Brush

GetRaisedButtonTextBrush() public method

public GetRaisedButtonTextBrush ( bool primary ) : Brush
primary bool
return System.Drawing.Brush

GetSecondaryTextBrush() public method

public GetSecondaryTextBrush ( ) : Brush
return System.Drawing.Brush

GetSecondaryTextColor() public method

public GetSecondaryTextColor ( ) : Color
return Color

RemoveFormToManage() public method

public RemoveFormToManage ( MaterialSkin.Controls.MaterialForm materialForm ) : void
materialForm MaterialSkin.Controls.MaterialForm
return void

Property Details

ACTION_BAR_TEXT public_oe property

public Color ACTION_BAR_TEXT
return Color

ACTION_BAR_TEXT_BRUSH public_oe property

public Brush,System.Drawing ACTION_BAR_TEXT_BRUSH
return System.Drawing.Brush

ACTION_BAR_TEXT_SECONDARY public_oe property

public Color ACTION_BAR_TEXT_SECONDARY
return Color

ACTION_BAR_TEXT_SECONDARY_BRUSH public_oe property

public Brush,System.Drawing ACTION_BAR_TEXT_SECONDARY_BRUSH
return System.Drawing.Brush

FORM_PADDING public_oe property

public int FORM_PADDING
return int

ROBOTO_MEDIUM_10 public_oe property

public Font,System.Drawing ROBOTO_MEDIUM_10
return System.Drawing.Font

ROBOTO_MEDIUM_11 public_oe property

public Font,System.Drawing ROBOTO_MEDIUM_11
return System.Drawing.Font

ROBOTO_MEDIUM_12 public_oe property

public Font,System.Drawing ROBOTO_MEDIUM_12
return System.Drawing.Font

ROBOTO_REGULAR_11 public_oe property

public Font,System.Drawing ROBOTO_REGULAR_11
return System.Drawing.Font

SECONDARY_TEXT_BLACK public_oe static_oe property

public static Color SECONDARY_TEXT_BLACK
return Color

SECONDARY_TEXT_BLACK_BRUSH public_oe static_oe property

public static Brush,System.Drawing SECONDARY_TEXT_BLACK_BRUSH
return System.Drawing.Brush

SECONDARY_TEXT_WHITE public_oe static_oe property

public static Color SECONDARY_TEXT_WHITE
return Color

SECONDARY_TEXT_WHITE_BRUSH public_oe static_oe property

public static Brush,System.Drawing SECONDARY_TEXT_WHITE_BRUSH
return System.Drawing.Brush