C# Class ComponentFactory.Krypton.Toolkit.PaletteBorderInheritRedirect

Provide inheritance of palette border properties from source redirector.
Inheritance: PaletteBorderInherit
ファイルを表示 Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
GetBorderColor1 ( PaletteState state ) : Color

Gets the first border color from the redirector.

GetBorderColor2 ( PaletteState state ) : Color

Gets the second border color from the redirector.

GetBorderColorAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the color alignment style from the redirector.

GetBorderColorAngle ( PaletteState state ) : float

Gets the color border angle from the redirector.

GetBorderColorStyle ( PaletteState state ) : PaletteColorStyle

Gets the color drawing style from the redirector.

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 from the redirector.

GetBorderImageAlign ( PaletteState state ) : PaletteRectangleAlign

Gets the image alignment style from the redirector.

GetBorderImageStyle ( PaletteState state ) : PaletteImageStyle

Gets the border image style from the redirector.

GetBorderRounding ( PaletteState state ) : int

Gets the border rounding from the redirector.

GetBorderWidth ( PaletteState state ) : int

Gets the border width from the redirector.

GetRedirector ( ) : PaletteRedirect

Gets the redirector instance.

PaletteBorderInheritRedirect ( PaletteRedirect redirect ) : System

Initialize a new instance of the PaletteBorderInheritRedirect class.

PaletteBorderInheritRedirect ( PaletteRedirect redirect, PaletteBorderStyle style ) : System

Initialize a new instance of the PaletteBorderInheritRedirect class.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

Method Details

GetBorderColor1() public method

Gets the first border color from the redirector.
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 from the redirector.
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 from the redirector.
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 from the redirector.
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 from the redirector.
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 from the redirector.
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 from the redirector.
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 from the redirector.
public GetBorderImageStyle ( PaletteState state ) : PaletteImageStyle
state PaletteState Palette value should be applicable to this state.
return PaletteImageStyle

GetBorderRounding() public method

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

GetBorderWidth() public method

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

GetRedirector() public method

Gets the redirector instance.
public GetRedirector ( ) : PaletteRedirect
return PaletteRedirect

PaletteBorderInheritRedirect() public method

Initialize a new instance of the PaletteBorderInheritRedirect class.
public PaletteBorderInheritRedirect ( PaletteRedirect redirect ) : System
redirect PaletteRedirect Source for inherit requests.
return System

PaletteBorderInheritRedirect() public method

Initialize a new instance of the PaletteBorderInheritRedirect class.
public PaletteBorderInheritRedirect ( PaletteRedirect redirect, PaletteBorderStyle style ) : System
redirect PaletteRedirect Source for inherit requests.
style PaletteBorderStyle Style used in requests.
return System

SetRedirector() public method

Update the redirector with new reference.
public SetRedirector ( PaletteRedirect redirect ) : void
redirect PaletteRedirect Target redirector.
return void