C# Class ComponentFactory.Krypton.Toolkit.PaletteRedirectBack

Redirect background based on the incoming state of the request.
Inheritance: PaletteRedirect
Afficher le fichier Open project: Cocotteseb/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.

PaletteRedirectBack ( IPalette target ) : System

Initialize a new instance of the PaletteRedirectBack class.

PaletteRedirectBack ( IPalette target, IPaletteBack disabled, IPaletteBack normal ) : System

Initialize a new instance of the PaletteRedirectBack class.

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

Initialize a new instance of the PaletteRedirectBack class.

ResetRedirectStates ( ) : void

Reset the redirection states to null.

SetRedirectStates ( IPaletteBack disabled, IPaletteBack normal ) : void

Set the redirection states.

Private Methods

Méthode Description
GetInherit ( PaletteState state ) : IPaletteBack

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

PaletteRedirectBack() public méthode

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

PaletteRedirectBack() public méthode

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

PaletteRedirectBack() public méthode

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