C# Class ComponentFactory.Krypton.Toolkit.PaletteBorderInheritForced

Allow the background values to be forced to fixed values.
Inheritance: PaletteBorderInherit
Mostra file Open project: Cocotteseb/Krypton Class Usage Examples

Public Methods

Method Description
ForceBorderEdges ( PaletteDrawBorders forceBorderEdges ) : void

Force the border edges to a particular value.

GetBorderColor1 ( PaletteState state ) : Color

Gets the first border color.

GetBorderColor2 ( PaletteState state ) : Color

Gets the second border color.

GetBorderColorAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the color alignment style.

GetBorderColorAngle ( PaletteState state ) : float

Gets the color border angle.

GetBorderColorStyle ( PaletteState state ) : PaletteColorStyle

Gets the color drawing style.

GetBorderDraw ( PaletteState state ) : InheritBool

Gets a value indicating if border should be drawn.

GetBorderDrawBorders ( PaletteState state ) : PaletteDrawBorders

Gets a value indicating which borders to draw.

GetBorderGraphicsHint ( PaletteState state ) : PaletteGraphicsHint

Gets the graphics drawing hint.

GetBorderImage ( PaletteState state ) : Image

Gets a border image.

GetBorderImageAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the image alignment style.

GetBorderImageStyle ( PaletteState state ) : PaletteImageStyle

Gets the border image style.

GetBorderRounding ( PaletteState state ) : int

Gets the border rounding.

GetBorderWidth ( PaletteState state ) : int

Gets the border width.

PaletteBorderInheritForced ( IPaletteBorder inherit ) : System

Initialize a new instance of the PaletteBorderInheritForced class.

SetInherit ( IPaletteBorder paletteBorder ) : void

Gets and sets the palette to inherit from.

Method Details

ForceBorderEdges() public method

Force the border edges to a particular value.
public ForceBorderEdges ( PaletteDrawBorders forceBorderEdges ) : void
forceBorderEdges PaletteDrawBorders Borders to force.
return void

GetBorderColor1() public method

Gets the first border color.
public GetBorderColor1 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetBorderColor2() public method

Gets the second border color.
public GetBorderColor2 ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

GetBorderColorAlign() public method

Gets the color alignment style.
public GetBorderColorAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRectangleAlign

GetBorderColorAngle() public method

Gets the color border angle.
public GetBorderColorAngle ( PaletteState state ) : float
state PaletteState Palette value should be applicable to this state.
return float

GetBorderColorStyle() public method

Gets the color drawing style.
public GetBorderColorStyle ( PaletteState state ) : PaletteColorStyle
state PaletteState Palette value should be applicable to this state.
return PaletteColorStyle

GetBorderDraw() public method

Gets a value indicating if border should be drawn.
public GetBorderDraw ( PaletteState state ) : InheritBool
state PaletteState Palette value should be applicable to this state.
return InheritBool

GetBorderDrawBorders() public method

Gets a value indicating which borders to draw.
public GetBorderDrawBorders ( PaletteState state ) : PaletteDrawBorders
state PaletteState Palette value should be applicable to this state.
return PaletteDrawBorders

GetBorderGraphicsHint() public method

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

GetBorderImage() public method

Gets a border image.
public GetBorderImage ( PaletteState state ) : Image
state PaletteState Palette value should be applicable to this state.
return Image

GetBorderImageAlign() public method

Gets the image alignment style.
public GetBorderImageAlign ( PaletteState state ) : PaletteRectangleAlign
state PaletteState Palette value should be applicable to this state.
return PaletteRectangleAlign

GetBorderImageStyle() public method

Gets the border image style.
public GetBorderImageStyle ( PaletteState state ) : PaletteImageStyle
state PaletteState Palette value should be applicable to this state.
return PaletteImageStyle

GetBorderRounding() public method

Gets the border rounding.
public GetBorderRounding ( PaletteState state ) : int
state PaletteState Palette value should be applicable to this state.
return int

GetBorderWidth() public method

Gets the border width.
public GetBorderWidth ( PaletteState state ) : int
state PaletteState Palette value should be applicable to this state.
return int

PaletteBorderInheritForced() public method

Initialize a new instance of the PaletteBorderInheritForced class.
public PaletteBorderInheritForced ( IPaletteBorder inherit ) : System
inherit IPaletteBorder Border palette to inherit from.
return System

SetInherit() public method

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