C# Class ComponentFactory.Krypton.Toolkit.PaletteRedirectBorderEdge

Redirect border based on the incoming state of the request.
Inheritance: PaletteRedirect
Afficher le fichier Open project: ComponentFactory/Krypton

Méthodes publiques

Méthode Description
GetBorderColor1 ( PaletteBorderStyle style, PaletteState state ) : Color

Gets the first border color.

GetBorderColor2 ( PaletteBorderStyle style, PaletteState state ) : Color

Gets the second border color.

GetBorderColorAlign ( PaletteBorderStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the color border alignment.

GetBorderColorAngle ( PaletteBorderStyle style, PaletteState state ) : float

Gets the color border angle.

GetBorderColorStyle ( PaletteBorderStyle style, PaletteState state ) : PaletteColorStyle

Gets the color border drawing style.

GetBorderDraw ( PaletteBorderStyle style, PaletteState state ) : InheritBool

Gets a value indicating if border should be drawn.

GetBorderDrawBorders ( PaletteBorderStyle style, PaletteState state ) : PaletteDrawBorders

Gets a value indicating which borders to draw.

GetBorderGraphicsHint ( PaletteBorderStyle style, PaletteState state ) : PaletteGraphicsHint

Gets the graphics drawing hint for the border.

GetBorderImage ( PaletteBorderStyle style, PaletteState state ) : Image

Gets a border image.

GetBorderImageAlign ( PaletteBorderStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the image border alignment.

GetBorderImageStyle ( PaletteBorderStyle style, PaletteState state ) : PaletteImageStyle

Gets the border image style.

GetBorderRounding ( PaletteBorderStyle style, PaletteState state ) : int

Gets the border corner rounding.

GetBorderWidth ( PaletteBorderStyle style, PaletteState state ) : int

Gets the border width.

PaletteRedirectBorderEdge ( IPalette target ) : System

Initialize a new instance of the PaletteRedirectBorderEdge class.

PaletteRedirectBorderEdge ( IPalette target, PaletteBorderEdge disabled, PaletteBorderEdge normal ) : System

Initialize a new instance of the PaletteRedirectBorderEdge class.

ResetRedirectStates ( ) : void

Reset the redirection states to null.

SetRedirectStates ( PaletteBorderEdge disabled, PaletteBorderEdge normal ) : void

Set the redirection states.

Private Methods

Méthode Description
GetInherit ( PaletteState state ) : PaletteBorderEdge

Method Details

GetBorderColor1() public méthode

Gets the first border color.
public GetBorderColor1 ( PaletteBorderStyle style, PaletteState state ) : Color
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetBorderColor2() public méthode

Gets the second border color.
public GetBorderColor2 ( PaletteBorderStyle style, PaletteState state ) : Color
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetBorderColorAlign() public méthode

Gets the color border alignment.
public GetBorderColorAlign ( PaletteBorderStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetBorderColorAngle() public méthode

Gets the color border angle.
public GetBorderColorAngle ( PaletteBorderStyle style, PaletteState state ) : float
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat float

GetBorderColorStyle() public méthode

Gets the color border drawing style.
public GetBorderColorStyle ( PaletteBorderStyle style, PaletteState state ) : PaletteColorStyle
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteColorStyle

GetBorderDraw() public méthode

Gets a value indicating if border should be drawn.
public GetBorderDraw ( PaletteBorderStyle style, PaletteState state ) : InheritBool
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat InheritBool

GetBorderDrawBorders() public méthode

Gets a value indicating which borders to draw.
public GetBorderDrawBorders ( PaletteBorderStyle style, PaletteState state ) : PaletteDrawBorders
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteDrawBorders

GetBorderGraphicsHint() public méthode

Gets the graphics drawing hint for the border.
public GetBorderGraphicsHint ( PaletteBorderStyle style, PaletteState state ) : PaletteGraphicsHint
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteGraphicsHint

GetBorderImage() public méthode

Gets a border image.
public GetBorderImage ( PaletteBorderStyle style, PaletteState state ) : Image
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat Image

GetBorderImageAlign() public méthode

Gets the image border alignment.
public GetBorderImageAlign ( PaletteBorderStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetBorderImageStyle() public méthode

Gets the border image style.
public GetBorderImageStyle ( PaletteBorderStyle style, PaletteState state ) : PaletteImageStyle
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteImageStyle

GetBorderRounding() public méthode

Gets the border corner rounding.
public GetBorderRounding ( PaletteBorderStyle style, PaletteState state ) : int
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat int

GetBorderWidth() public méthode

Gets the border width.
public GetBorderWidth ( PaletteBorderStyle style, PaletteState state ) : int
style PaletteBorderStyle Border style.
state PaletteState Palette value should be applicable to this state.
Résultat int

PaletteRedirectBorderEdge() public méthode

Initialize a new instance of the PaletteRedirectBorderEdge class.
public PaletteRedirectBorderEdge ( IPalette target ) : System
target IPalette Initial palette target for redirection.
Résultat System

PaletteRedirectBorderEdge() public méthode

Initialize a new instance of the PaletteRedirectBorderEdge class.
public PaletteRedirectBorderEdge ( IPalette target, PaletteBorderEdge disabled, PaletteBorderEdge normal ) : System
target IPalette Initial palette target for redirection.
disabled PaletteBorderEdge Redirection for disabled state requests.
normal PaletteBorderEdge Redirection for normal state requests.
Résultat System

ResetRedirectStates() public méthode

Reset the redirection states to null.
public ResetRedirectStates ( ) : void
Résultat void

SetRedirectStates() public méthode

Set the redirection states.
public SetRedirectStates ( PaletteBorderEdge disabled, PaletteBorderEdge normal ) : void
disabled PaletteBorderEdge Redirection for disabled state requests.
normal PaletteBorderEdge Redirection for normal state requests.
Résultat void