C# Class ComponentFactory.Krypton.Ribbon.PaletteRedirectRibbonAeroOverride

Override the text colors for button specs that are drawn on aero glass.
Inheritance: ComponentFactory.Krypton.Toolkit.PaletteRedirect
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
GetContentLongTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color

Gets the first back color for the long text.

GetContentLongTextColor2 ( PaletteContentStyle style, PaletteState state ) : Color

Gets the second back color for the long text.

GetContentShortTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color

Gets the first back color for the short text.

GetContentShortTextColor2 ( PaletteContentStyle style, PaletteState state ) : Color

Gets the second back color for the short text.

PaletteRedirectRibbonAeroOverride ( KryptonRibbon ribbon, PaletteRedirect redirect ) : System

Initialize a new instance of the PaletteRedirectRibbonAeroOverride class.

Private Methods

Method Description
LightBackground ( Color retColor ) : Color

Method Details

GetContentLongTextColor1() public method

Gets the first back color for the long text.
public GetContentLongTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return Color

GetContentLongTextColor2() public method

Gets the second back color for the long text.
public GetContentLongTextColor2 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return Color

GetContentShortTextColor1() public method

Gets the first back color for the short text.
public GetContentShortTextColor1 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return Color

GetContentShortTextColor2() public method

Gets the second back color for the short text.
public GetContentShortTextColor2 ( PaletteContentStyle style, PaletteState state ) : Color
style PaletteContentStyle Content style.
state PaletteState Palette value should be applicable to this state.
return Color

PaletteRedirectRibbonAeroOverride() public method

Initialize a new instance of the PaletteRedirectRibbonAeroOverride class.
public PaletteRedirectRibbonAeroOverride ( KryptonRibbon ribbon, PaletteRedirect redirect ) : System
ribbon KryptonRibbon Reference to owning Ribbon instance.
redirect ComponentFactory.Krypton.Toolkit.PaletteRedirect Source for inheriting values.
return System