C# Class ComponentFactory.Krypton.Toolkit.PaletteElementColorInheritOverride

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

Public Methods

Method 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 method

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

GetElementColor2() public method

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

GetElementColor3() public method

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

GetElementColor4() public method

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

GetElementColor5() public method

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

PaletteElementColorInheritOverride() public method

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

SetPalettes() public method

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