C# Class ComponentFactory.Krypton.Toolkit.PaletteBackInheritOverride

Inherit properties from primary source in preference to the backup source.
Inheritance: PaletteBackInherit
Mostra file 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.

PaletteBackInheritOverride ( IPaletteBack primary, IPaletteBack backup ) : System

Initialize a new instance of the PaletteBackInheritOverride class.

SetPalettes ( IPaletteBack primary, IPaletteBack backup ) : void

Update the the primary and backup palettes.

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

PaletteBackInheritOverride() public method

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

SetPalettes() public method

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