C# Class ComponentFactory.Krypton.Toolkit.PaletteRibbonDoubleInheritOverride

Inherit properties from primary source in preference to the backup source.
Inheritance: PaletteRibbonDoubleInherit
Mostra file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
GetRibbonBackColor1 ( PaletteState state ) : Color

Gets the first background color for the ribbon item.

GetRibbonBackColor2 ( PaletteState state ) : Color

Gets the second background color for the ribbon item.

GetRibbonBackColor3 ( PaletteState state ) : Color

Gets the third background color for the ribbon item.

GetRibbonBackColor4 ( PaletteState state ) : Color

Gets the fourth background color for the ribbon item.

GetRibbonBackColor5 ( PaletteState state ) : Color

Gets the fifth background color for the ribbon item.

GetRibbonBackColorStyle ( PaletteState state ) : PaletteRibbonColorStyle

Gets the method used to draw the background of a ribbon item.

GetRibbonTextColor ( PaletteState state ) : Color

Gets the tab color for the item text.

PaletteRibbonDoubleInheritOverride ( IPaletteRibbonBack primaryBack, IPaletteRibbonText primaryText, IPaletteRibbonBack backupBack, IPaletteRibbonText backupText, PaletteState state ) : System

Initialize a new instance of the PaletteRibbonDoubleInheritOverride class.

Method Details

GetRibbonBackColor1() public method

Gets the first background color for the ribbon item.
public GetRibbonBackColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetRibbonBackColor2() public method

Gets the second background color for the ribbon item.
public GetRibbonBackColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetRibbonBackColor3() public method

Gets the third background color for the ribbon item.
public GetRibbonBackColor3 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetRibbonBackColor4() public method

Gets the fourth background color for the ribbon item.
public GetRibbonBackColor4 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetRibbonBackColor5() public method

Gets the fifth background color for the ribbon item.
public GetRibbonBackColor5 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetRibbonBackColorStyle() public method

Gets the method used to draw the background of a ribbon item.
public GetRibbonBackColorStyle ( PaletteState state ) : PaletteRibbonColorStyle
state PaletteState Palette value should be applicable to this state.
return PaletteRibbonColorStyle

GetRibbonTextColor() public method

Gets the tab color for the item text.
public GetRibbonTextColor ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

PaletteRibbonDoubleInheritOverride() public method

Initialize a new instance of the PaletteRibbonDoubleInheritOverride class.
public PaletteRibbonDoubleInheritOverride ( IPaletteRibbonBack primaryBack, IPaletteRibbonText primaryText, IPaletteRibbonBack backupBack, IPaletteRibbonText backupText, PaletteState state ) : System
primaryBack IPaletteRibbonBack First choice inheritence background.
primaryText IPaletteRibbonText First choice inheritence text.
backupBack IPaletteRibbonBack Backup inheritence background.
backupText IPaletteRibbonText Backup inheritence text.
state PaletteState Palette state to override.
return System