C# Class ComponentFactory.Krypton.Toolkit.PaletteRibbonDouble

Storage for ribbon background and text values.
Inheritance: Storage, IPaletteRibbonBack, IPaletteRibbonText
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description

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.

PaletteRibbonDouble ( IPaletteRibbonBack inheritBack, IPaletteRibbonText inheritText, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteRibbonDouble class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

ResetBackColor1 ( ) : void

Reset the BackColor1 to the default value.

ResetBackColor2 ( ) : void

Reset the BackColor2 to the default value.

ResetBackColor3 ( ) : void

Reset the BackColor3 to the default value.

ResetBackColor4 ( ) : void

Reset the BackColor4 to the default value.

ResetBackColor5 ( ) : void

Reset the BackColor5 to the default value.

ResetTextColor ( ) : void

Reset the TextColor to the default value.

SetInherit ( IPaletteRibbonBack inheritBack, IPaletteRibbonText inheritText ) : void

Sets the inheritence parent.

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

PaletteRibbonDouble() public méthode

Initialize a new instance of the PaletteRibbonDouble class.
public PaletteRibbonDouble ( IPaletteRibbonBack inheritBack, IPaletteRibbonText inheritText, NeedPaintHandler needPaint ) : System
inheritBack IPaletteRibbonBack Source for inheriting background values.
inheritText IPaletteRibbonText Source for inheriting text values.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Résultat System

PopulateFromBase() public méthode

Populate values from the base palette.
public PopulateFromBase ( PaletteState state ) : void
state PaletteState Palette state to use when populating.
Résultat void

ResetBackColor1() public méthode

Reset the BackColor1 to the default value.
public ResetBackColor1 ( ) : void
Résultat void

ResetBackColor2() public méthode

Reset the BackColor2 to the default value.
public ResetBackColor2 ( ) : void
Résultat void

ResetBackColor3() public méthode

Reset the BackColor3 to the default value.
public ResetBackColor3 ( ) : void
Résultat void

ResetBackColor4() public méthode

Reset the BackColor4 to the default value.
public ResetBackColor4 ( ) : void
Résultat void

ResetBackColor5() public méthode

Reset the BackColor5 to the default value.
public ResetBackColor5 ( ) : void
Résultat void

ResetTextColor() public méthode

Reset the TextColor to the default value.
public ResetTextColor ( ) : void
Résultat void

SetInherit() public méthode

Sets the inheritence parent.
public SetInherit ( IPaletteRibbonBack inheritBack, IPaletteRibbonText inheritText ) : void
inheritBack IPaletteRibbonBack
inheritText IPaletteRibbonText
Résultat void