C# Class ComponentFactory.Krypton.Toolkit.PaletteElementColor

Storage for element color values.
Inheritance: Storage, IPaletteElementColor
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
GetElementColor1 ( PaletteState state ) : Color

Gets the first element color.

GetElementColor2 ( PaletteState state ) : Color

Gets the second element color.

GetElementColor3 ( PaletteState state ) : Color

Gets the third element color.

GetElementColor4 ( PaletteState state ) : Color

Gets the fourth element color.

GetElementColor5 ( PaletteState state ) : Color

Gets the fifth element color.

PaletteElementColor ( IPaletteElementColor inheritElementColor, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteElementColor class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

ResetColor1 ( ) : void

Reset the Color1 to the default value.

ResetColor2 ( ) : void

Reset the Color2 to the default value.

ResetColor3 ( ) : void

Reset the Color3 to the default value.

ResetColor4 ( ) : void

Reset the Color4 to the default value.

ResetColor5 ( ) : void

Reset the Color5 to the default value.

SetInherit ( IPaletteElementColor inheritElementColor ) : void

Sets the inheritence parent.

Method Details

GetElementColor1() public méthode

Gets the first element color.
public GetElementColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetElementColor2() public méthode

Gets the second element color.
public GetElementColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetElementColor3() public méthode

Gets the third element color.
public GetElementColor3 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetElementColor4() public méthode

Gets the fourth element color.
public GetElementColor4 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetElementColor5() public méthode

Gets the fifth element color.
public GetElementColor5 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

PaletteElementColor() public méthode

Initialize a new instance of the PaletteElementColor class.
public PaletteElementColor ( IPaletteElementColor inheritElementColor, NeedPaintHandler needPaint ) : System
inheritElementColor IPaletteElementColor Source for inheriting values.
needPaint NeedPaintHandler Delegate for notifying changes in value.
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

ResetColor1() public méthode

Reset the Color1 to the default value.
public ResetColor1 ( ) : void
Résultat void

ResetColor2() public méthode

Reset the Color2 to the default value.
public ResetColor2 ( ) : void
Résultat void

ResetColor3() public méthode

Reset the Color3 to the default value.
public ResetColor3 ( ) : void
Résultat void

ResetColor4() public méthode

Reset the Color4 to the default value.
public ResetColor4 ( ) : void
Résultat void

ResetColor5() public méthode

Reset the Color5 to the default value.
public ResetColor5 ( ) : void
Résultat void

SetInherit() public méthode

Sets the inheritence parent.
public SetInherit ( IPaletteElementColor inheritElementColor ) : void
inheritElementColor IPaletteElementColor
Résultat void