C# Class ComponentFactory.Krypton.Toolkit.PaletteElementColorInheritRedirect

Provide inheritance of palette element colors from source redirector.
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.

PaletteElementColorInheritRedirect ( PaletteRedirect redirect, PaletteElement element ) : System

Initialize a new instance of the PaletteElementColorInheritRedirect class.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

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

PaletteElementColorInheritRedirect() public method

Initialize a new instance of the PaletteElementColorInheritRedirect class.
public PaletteElementColorInheritRedirect ( PaletteRedirect redirect, PaletteElement element ) : System
redirect PaletteRedirect Source for inherit requests.
element PaletteElement Element value..
return System

SetRedirector() public method

Update the redirector with new reference.
public SetRedirector ( PaletteRedirect redirect ) : void
redirect PaletteRedirect Target redirector.
return void