C# Class ComponentFactory.Krypton.Ribbon.PaletteRibbonContextDouble

Return inhertied values unless empty in which case return the context color.
Inheritance: IPaletteRibbonBack, IPaletteRibbonText
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode 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 background drawing style for the ribbon item.

GetRibbonTextColor ( PaletteState state ) : Color

Gets the tab color for the item text.

PaletteRibbonContextDouble ( KryptonRibbon ribbon ) : System

Initialize a new instance of the PaletteRibbonContextDouble class.

SetInherit ( PaletteRibbonDoubleInheritOverride inherit ) : void

Sets the inheritence parent.

Private Methods

Méthode Description
CheckForContextColor ( PaletteState state ) : Color

Method Details

GetRibbonBackColor1() public méthode

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

GetRibbonBackColor2() public méthode

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

GetRibbonBackColor3() public méthode

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

GetRibbonBackColor4() public méthode

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

GetRibbonBackColor5() public méthode

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

GetRibbonBackColorStyle() public méthode

Gets the background drawing style for the ribbon item.
public GetRibbonBackColorStyle ( PaletteState state ) : PaletteRibbonColorStyle
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRibbonColorStyle

GetRibbonTextColor() public méthode

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

PaletteRibbonContextDouble() public méthode

Initialize a new instance of the PaletteRibbonContextDouble class.
public PaletteRibbonContextDouble ( KryptonRibbon ribbon ) : System
ribbon KryptonRibbon Reference to ribbon control.
Résultat System

SetInherit() public méthode

Sets the inheritence parent.
public SetInherit ( PaletteRibbonDoubleInheritOverride inherit ) : void
inherit ComponentFactory.Krypton.Toolkit.PaletteRibbonDoubleInheritOverride
Résultat void