C# Class ComponentFactory.Krypton.Toolkit.PaletteElementColorInheritOverride

Inherit properties from primary source in preference to the backup source.
Inheritance: PaletteElementColorInherit
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
GetElementColor1 ( PaletteState state ) : Color

Gets the first color for the element.

GetElementColor2 ( PaletteState state ) : Color

Gets the second color for the element.

GetElementColor3 ( PaletteState state ) : Color

Gets the third color for the element.

GetElementColor4 ( PaletteState state ) : Color

Gets the fourth color for the element.

GetElementColor5 ( PaletteState state ) : Color

Gets the fifth color for the element.

PaletteElementColorInheritOverride ( IPaletteElementColor primary, IPaletteElementColor backup ) : System

Initialize a new instance of the PaletteElementColorInheritOverride class.

SetPalettes ( IPaletteElementColor primary, IPaletteElementColor backup ) : void

Update the the primary and backup palettes.

Method Details

GetElementColor1() public méthode

Gets the first color for the element.
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 color for the element.
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 color for the element.
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 color for the element.
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 color for the element.
public GetElementColor5 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
Résultat Color

PaletteElementColorInheritOverride() public méthode

Initialize a new instance of the PaletteElementColorInheritOverride class.
public PaletteElementColorInheritOverride ( IPaletteElementColor primary, IPaletteElementColor backup ) : System
primary IPaletteElementColor First choice inheritence.
backup IPaletteElementColor Backup inheritence.
Résultat System

SetPalettes() public méthode

Update the the primary and backup palettes.
public SetPalettes ( IPaletteElementColor primary, IPaletteElementColor backup ) : void
primary IPaletteElementColor New primary palette.
backup IPaletteElementColor New backup palette.
Résultat void