C# Class ComponentFactory.Krypton.Toolkit.PaletteRedirectDouble

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

Méthodes publiques

Méthode Description
GetBackColor1 ( PaletteBackStyle style, PaletteState state ) : Color

Gets the first background color.

GetBackColor2 ( PaletteBackStyle style, PaletteState state ) : Color

Gets the second back color.

GetBackColorAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the color alignment.

GetBackColorAngle ( PaletteBackStyle style, PaletteState state ) : float

Gets the color background angle.

GetBackColorStyle ( PaletteBackStyle style, PaletteState state ) : PaletteColorStyle

Gets the color background drawing style.

GetBackDraw ( PaletteBackStyle style, PaletteState state ) : InheritBool

Gets a value indicating if background should be drawn.

GetBackGraphicsHint ( PaletteBackStyle style, PaletteState state ) : PaletteGraphicsHint

Gets the graphics drawing hint for the background.

GetBackImage ( PaletteBackStyle style, PaletteState state ) : Image

Gets a background image.

GetBackImageAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign

Gets the image alignment.

GetBackImageStyle ( PaletteBackStyle style, PaletteState state ) : PaletteImageStyle

Gets the background image style.

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.

PaletteRedirectDouble ( ) : System

Initialize a new instance of the PaletteRedirectDouble class.

PaletteRedirectDouble ( IPalette target ) : System

Initialize a new instance of the PaletteRedirectDouble class.

PaletteRedirectDouble ( IPalette target, IPaletteDouble disabled, IPaletteDouble normal ) : System

Initialize a new instance of the PaletteRedirectDouble class.

PaletteRedirectDouble ( IPalette target, IPaletteDouble disabled, IPaletteDouble normal, IPaletteDouble pressed, IPaletteDouble tracking ) : System

Initialize a new instance of the PaletteRedirectDouble class.

PaletteRedirectDouble ( IPalette target, IPaletteDouble disabled, IPaletteDouble normal, IPaletteDouble pressed, IPaletteDouble tracking, IPaletteDouble checkedNormal, IPaletteDouble checkedPressed, IPaletteDouble checkedTracking, IPaletteDouble focusOverride, IPaletteDouble normalDefaultOverride ) : System

Initialize a new instance of the PaletteRedirectDouble class.

ResetRedirectStates ( ) : void

Reset the redirection states to null.

SetRedirectStates ( IPaletteDouble disabled, IPaletteDouble normal ) : void

Set the redirection states.

SetRedirectStates ( IPaletteDouble disabled, IPaletteDouble normal, IPaletteDouble pressed, IPaletteDouble tracking ) : void

Set the redirection states.

Private Methods

Méthode Description
GetInherit ( PaletteState state ) : IPaletteDouble

Method Details

GetBackColor1() public méthode

Gets the first background color.
public GetBackColor1 ( PaletteBackStyle style, PaletteState state ) : Color
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetBackColor2() public méthode

Gets the second back color.
public GetBackColor2 ( PaletteBackStyle style, PaletteState state ) : Color
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetBackColorAlign() public méthode

Gets the color alignment.
public GetBackColorAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetBackColorAngle() public méthode

Gets the color background angle.
public GetBackColorAngle ( PaletteBackStyle style, PaletteState state ) : float
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat float

GetBackColorStyle() public méthode

Gets the color background drawing style.
public GetBackColorStyle ( PaletteBackStyle style, PaletteState state ) : PaletteColorStyle
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteColorStyle

GetBackDraw() public méthode

Gets a value indicating if background should be drawn.
public GetBackDraw ( PaletteBackStyle style, PaletteState state ) : InheritBool
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat InheritBool

GetBackGraphicsHint() public méthode

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

GetBackImage() public méthode

Gets a background image.
public GetBackImage ( PaletteBackStyle style, PaletteState state ) : Image
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat Image

GetBackImageAlign() public méthode

Gets the image alignment.
public GetBackImageAlign ( PaletteBackStyle style, PaletteState state ) : PaletteRectangleAlign
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRectangleAlign

GetBackImageStyle() public méthode

Gets the background image style.
public GetBackImageStyle ( PaletteBackStyle style, PaletteState state ) : PaletteImageStyle
style PaletteBackStyle Background style.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteImageStyle

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

PaletteRedirectDouble() public méthode

Initialize a new instance of the PaletteRedirectDouble class.
public PaletteRedirectDouble ( ) : System
Résultat System

PaletteRedirectDouble() public méthode

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

PaletteRedirectDouble() public méthode

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

PaletteRedirectDouble() public méthode

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

PaletteRedirectDouble() public méthode

Initialize a new instance of the PaletteRedirectDouble class.
public PaletteRedirectDouble ( IPalette target, IPaletteDouble disabled, IPaletteDouble normal, IPaletteDouble pressed, IPaletteDouble tracking, IPaletteDouble checkedNormal, IPaletteDouble checkedPressed, IPaletteDouble checkedTracking, IPaletteDouble focusOverride, IPaletteDouble normalDefaultOverride ) : System
target IPalette Initial palette target for redirection.
disabled IPaletteDouble Redirection for disabled state requests.
normal IPaletteDouble Redirection for normal state requests.
pressed IPaletteDouble Redirection for pressed state requests.
tracking IPaletteDouble Redirection for tracking state requests.
checkedNormal IPaletteDouble Redirection for checked normal state requests.
checkedPressed IPaletteDouble Redirection for checked pressed state requests.
checkedTracking IPaletteDouble Redirection for checked tracking state requests.
focusOverride IPaletteDouble Redirection for focus override state requests.
normalDefaultOverride IPaletteDouble Redirection for normal default override 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 ( IPaletteDouble disabled, IPaletteDouble normal ) : void
disabled IPaletteDouble Redirection for disabled state requests.
normal IPaletteDouble Redirection for normal state requests.
Résultat void

SetRedirectStates() public méthode

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