C# Class ComponentFactory.Krypton.Toolkit.PaletteBack

Implement storage for palette background details.
Inheritance: Storage, IPaletteBack
Datei anzeigen Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description

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.

PaletteBack ( IPaletteBack inherit, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteBack class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetInherit ( IPaletteBack inherit ) : void

Sets the inheritence parent.

Protected Methods

Method Description
OnPropertyChanged ( string property ) : void

Raises the PropertyChanged event.

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

OnPropertyChanged() protected method

Raises the PropertyChanged event.
protected OnPropertyChanged ( string property ) : void
property string Name of the property changed.
return void

PaletteBack() public method

Initialize a new instance of the PaletteBack class.
public PaletteBack ( IPaletteBack inherit, NeedPaintHandler needPaint ) : System
inherit IPaletteBack Source for inheriting defaulted values.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System

PopulateFromBase() public method

Populate values from the base palette.
public PopulateFromBase ( PaletteState state ) : void
state PaletteState Palette state to use when populating.
return void

SetInherit() public method

Sets the inheritence parent.
public SetInherit ( IPaletteBack inherit ) : void
inherit IPaletteBack
return void