C# Class ComponentFactory.Krypton.Toolkit.PaletteBackInheritForced

Allow the background values to be forced to fixed values.
Inheritance: PaletteBackInherit
Datei anzeigen Open project: ComponentFactory/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 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.

GetBackImageAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the image alignment style.

GetBackImageStyle ( PaletteState state ) : PaletteImageStyle

Gets the background image style.

PaletteBackInheritForced ( IPaletteBack inherit ) : System

Initialize a new instance of the PaletteBackInheritForced class.

SetInherit ( IPaletteBack paletteBack ) : void

Gets and sets the palette to inherit from.

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 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.
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

PaletteBackInheritForced() public method

Initialize a new instance of the PaletteBackInheritForced class.
public PaletteBackInheritForced ( IPaletteBack inherit ) : System
inherit IPaletteBack Background palette to inherit from.
return System

SetInherit() public method

Gets and sets the palette to inherit from.
public SetInherit ( IPaletteBack paletteBack ) : void
paletteBack IPaletteBack
return void