C# Class ComponentFactory.Krypton.Toolkit.PaletteDataGridViewBackInherit

Provide inheritance of palette back properties.
Inheritance: PaletteBackInherit
显示文件 Open project: ComponentFactory/Krypton

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.

SetInherit ( IPaletteBack inherit, System.Windows.Forms.DataGridViewCellStyle cellStyle ) : void

Defines the interface 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

SetInherit() public method

Defines the interface to inherit from.
public SetInherit ( IPaletteBack inherit, System.Windows.Forms.DataGridViewCellStyle cellStyle ) : void
inherit IPaletteBack Palette to inherit values from.
cellStyle System.Windows.Forms.DataGridViewCellStyle Cell style to recover values from.
return void