C# Class ComponentFactory.Krypton.Toolkit.PaletteBackToPalette

Redirect all background requests directly to the palette instance.
Inheritance: IPaletteBack
ファイルを表示 Open project: Cocotteseb/Krypton Class Usage Examples

Public Methods

Method Description
GetBackColor1 ( PaletteState state ) : Color

Gets the first background color.

GetBackColor2 ( PaletteState state ) : Color

Gets the second back color.

GetBackColorAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the color alignment style.

GetBackColorAngle ( PaletteState state ) : float

Gets the color background angle.

GetBackColorStyle ( PaletteState state ) : PaletteColorStyle

Gets the color drawing style.

GetBackDraw ( PaletteState state ) : InheritBool

Gets the actual background draw value.

GetBackGraphicsHint ( PaletteState state ) : PaletteGraphicsHint

Gets the actual background graphics hint value.

GetBackImage ( PaletteState state ) : Image

Gets a background image.

GetBackImageAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the image alignment style.

GetBackImageStyle ( PaletteState state ) : PaletteImageStyle

Gets the background image style.

PaletteBackToPalette ( IPalette palette, PaletteBackStyle style ) : System

Initialize a new instance of the PaletteBack class.

Method Details

GetBackColor1() public method

Gets the first background color.
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.
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.
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.
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.
public GetBackColorStyle ( PaletteState state ) : PaletteColorStyle
state PaletteState Palette value should be applicable to this state.
return PaletteColorStyle

GetBackDraw() public method

Gets the actual background draw value.
public GetBackDraw ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
return InheritBool

GetBackGraphicsHint() public method

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

GetBackImage() public method

Gets a background image.
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.
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.
public GetBackImageStyle ( PaletteState state ) : PaletteImageStyle
state PaletteState Palette value should be applicable to this state.
return PaletteImageStyle

PaletteBackToPalette() public method

Initialize a new instance of the PaletteBack class.
public PaletteBackToPalette ( IPalette palette, PaletteBackStyle style ) : System
palette IPalette Source for getting all values.
style PaletteBackStyle Style of values required.
return System