C# Class ComponentFactory.Krypton.Toolkit.PaletteBackInheritRedirect

Provide inheritance of palette background properties from source redirector.
Inheritance: PaletteBackInherit
Datei anzeigen Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
GetBackColor1 ( PaletteState state ) : Color

Gets the first background color from the redirector.

GetBackColor2 ( PaletteState state ) : Color

Gets the second back color from the redirector.

GetBackColorAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the color alignment style from the redirector.

GetBackColorAngle ( PaletteState state ) : float

Gets the color background angle from the redirector.

GetBackColorStyle ( PaletteState state ) : PaletteColorStyle

Gets the color drawing style from the redirector.

GetBackDraw ( PaletteState state ) : InheritBool

Gets a value indicating if background should be drawn.

GetBackGraphicsHint ( PaletteState state ) : PaletteGraphicsHint

Gets the graphics drawing hint.

GetBackImage ( PaletteState state ) : Image

Gets a background image from the redirector.

GetBackImageAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the image alignment style from the redirector.

GetBackImageStyle ( PaletteState state ) : PaletteImageStyle

Gets the background image style from the redirector.

GetRedirector ( ) : PaletteRedirect

Gets the redirector instance.

PaletteBackInheritRedirect ( PaletteRedirect redirect ) : System

Initialize a new instance of the PaletteBackInheritRedirect class.

PaletteBackInheritRedirect ( PaletteRedirect redirect, PaletteBackStyle style ) : System

Initialize a new instance of the PaletteBackInheritRedirect class.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

Method Details

GetBackColor1() public method

Gets the first background color from the redirector.
public GetBackColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetBackColor2() public method

Gets the second back color from the redirector.
public GetBackColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetBackColorAlign() public method

Gets the color alignment style from the redirector.
public GetBackColorAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRectangleAlign

GetBackColorAngle() public method

Gets the color background angle from the redirector.
public GetBackColorAngle ( PaletteState state ) : float
state PaletteState Palette value should be applicable to this state.
return float

GetBackColorStyle() public method

Gets the color drawing style from the redirector.
public GetBackColorStyle ( PaletteState state ) : PaletteColorStyle
state PaletteState Palette value should be applicable to this state.
return PaletteColorStyle

GetBackDraw() public method

Gets a value indicating if background should be drawn.
public GetBackDraw ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
return InheritBool

GetBackGraphicsHint() public method

Gets the graphics drawing hint.
public GetBackGraphicsHint ( PaletteState state ) : PaletteGraphicsHint
state PaletteState Palette value should be applicable to this state.
return PaletteGraphicsHint

GetBackImage() public method

Gets a background image from the redirector.
public GetBackImage ( PaletteState state ) : Image
state PaletteState Palette value should be applicable to this state.
return Image

GetBackImageAlign() public method

Gets the image alignment style from the redirector.
public GetBackImageAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRectangleAlign

GetBackImageStyle() public method

Gets the background image style from the redirector.
public GetBackImageStyle ( PaletteState state ) : PaletteImageStyle
state PaletteState Palette value should be applicable to this state.
return PaletteImageStyle

GetRedirector() public method

Gets the redirector instance.
public GetRedirector ( ) : PaletteRedirect
return PaletteRedirect

PaletteBackInheritRedirect() public method

Initialize a new instance of the PaletteBackInheritRedirect class.
public PaletteBackInheritRedirect ( PaletteRedirect redirect ) : System
redirect PaletteRedirect Source for inherit requests.
return System

PaletteBackInheritRedirect() public method

Initialize a new instance of the PaletteBackInheritRedirect class.
public PaletteBackInheritRedirect ( PaletteRedirect redirect, PaletteBackStyle style ) : System
redirect PaletteRedirect Source for inherit requests.
style PaletteBackStyle Style used in requests.
return System

SetRedirector() public method

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