C# Class ComponentFactory.Krypton.Toolkit.PaletteRedirectRibbonBack

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

Méthodes publiques

Méthode Description
GetRibbonBackColor1 ( PaletteRibbonBackStyle style, PaletteState state ) : Color

Gets the first background color for the ribbon item.

GetRibbonBackColor2 ( PaletteRibbonBackStyle style, PaletteState state ) : Color

Gets the second background color for the ribbon item.

GetRibbonBackColor3 ( PaletteRibbonBackStyle style, PaletteState state ) : Color

Gets the third background color for the ribbon item.

GetRibbonBackColor4 ( PaletteRibbonBackStyle style, PaletteState state ) : Color

Gets the fourth background color for the ribbon item.

GetRibbonBackColor5 ( PaletteRibbonBackStyle style, PaletteState state ) : Color

Gets the fifth background color for the ribbon item.

GetRibbonBackColorStyle ( PaletteRibbonBackStyle style, PaletteState state ) : PaletteRibbonColorStyle

Gets the background drawing style for the ribbon item.

PaletteRedirectRibbonBack ( IPalette target ) : System

Initialize a new instance of the PaletteRedirectRibbonBack class.

PaletteRedirectRibbonBack ( IPalette target, IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack ) : System

Initialize a new instance of the PaletteRedirectRibbonBack class.

PaletteRedirectRibbonBack ( IPalette target, IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack, IPaletteRibbonBack pressedBack, IPaletteRibbonBack trackingBack, IPaletteRibbonBack selectedBack, IPaletteRibbonBack focusOverrideBack ) : System

Initialize a new instance of the PaletteRedirectRibbonBack class.

ResetRedirectStates ( ) : void

Reset the redirection states to null.

SetRedirectStates ( IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack ) : void

Set the redirection states.

SetRedirectStates ( IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack, IPaletteRibbonBack pressedBack, IPaletteRibbonBack trackingBack, IPaletteRibbonBack selectedBack, IPaletteRibbonBack focusOverrideBack ) : void

Set the redirection states.

Private Methods

Méthode Description
GetBackInherit ( PaletteState state ) : IPaletteRibbonBack

Method Details

GetRibbonBackColor1() public méthode

Gets the first background color for the ribbon item.
public GetRibbonBackColor1 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Style of the ribbon color requested.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColor2() public méthode

Gets the second background color for the ribbon item.
public GetRibbonBackColor2 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Style of the ribbon color requested.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColor3() public méthode

Gets the third background color for the ribbon item.
public GetRibbonBackColor3 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Style of the ribbon color requested.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColor4() public méthode

Gets the fourth background color for the ribbon item.
public GetRibbonBackColor4 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Style of the ribbon color requested.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColor5() public méthode

Gets the fifth background color for the ribbon item.
public GetRibbonBackColor5 ( PaletteRibbonBackStyle style, PaletteState state ) : Color
style PaletteRibbonBackStyle Style of the ribbon color requested.
state PaletteState Palette value should be applicable to this state.
Résultat Color

GetRibbonBackColorStyle() public méthode

Gets the background drawing style for the ribbon item.
public GetRibbonBackColorStyle ( PaletteRibbonBackStyle style, PaletteState state ) : PaletteRibbonColorStyle
style PaletteRibbonBackStyle Style of the ribbon back style requested.
state PaletteState Palette value should be applicable to this state.
Résultat PaletteRibbonColorStyle

PaletteRedirectRibbonBack() public méthode

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

PaletteRedirectRibbonBack() public méthode

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

PaletteRedirectRibbonBack() public méthode

Initialize a new instance of the PaletteRedirectRibbonBack class.
public PaletteRedirectRibbonBack ( IPalette target, IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack, IPaletteRibbonBack pressedBack, IPaletteRibbonBack trackingBack, IPaletteRibbonBack selectedBack, IPaletteRibbonBack focusOverrideBack ) : System
target IPalette Initial palette target for redirection.
disabledBack IPaletteRibbonBack Redirection for back disabled state requests.
normalBack IPaletteRibbonBack Redirection for back normal state requests.
pressedBack IPaletteRibbonBack Redirection for back pressed state requests.
trackingBack IPaletteRibbonBack Redirection for back tracking state requests.
selectedBack IPaletteRibbonBack Redirection for selected states requests.
focusOverrideBack IPaletteRibbonBack Redirection for back focus 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 ( IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack ) : void
disabledBack IPaletteRibbonBack Redirection for back disabled state requests.
normalBack IPaletteRibbonBack Redirection for back normal state requests.
Résultat void

SetRedirectStates() public méthode

Set the redirection states.
public SetRedirectStates ( IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack, IPaletteRibbonBack pressedBack, IPaletteRibbonBack trackingBack, IPaletteRibbonBack selectedBack, IPaletteRibbonBack focusOverrideBack ) : void
disabledBack IPaletteRibbonBack Redirection for back disabled state requests.
normalBack IPaletteRibbonBack Redirection for back normal state requests.
pressedBack IPaletteRibbonBack Redirection for back pressed state requests.
trackingBack IPaletteRibbonBack Redirection for back tracking state requests.
selectedBack IPaletteRibbonBack Redirection for selected states requests.
focusOverrideBack IPaletteRibbonBack Redirection for back focus override state requests.
Résultat void