C# Class ComponentFactory.Krypton.Toolkit.PaletteRedirectRibbonBack

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

Public Methods

Method 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

Method Description
GetBackInherit ( PaletteState state ) : IPaletteRibbonBack

Method Details

GetRibbonBackColor1() public method

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.
return Color

GetRibbonBackColor2() public method

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.
return Color

GetRibbonBackColor3() public method

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.
return Color

GetRibbonBackColor4() public method

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.
return Color

GetRibbonBackColor5() public method

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.
return Color

GetRibbonBackColorStyle() public method

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.
return PaletteRibbonColorStyle

PaletteRedirectRibbonBack() public method

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

PaletteRedirectRibbonBack() public method

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.
return System

PaletteRedirectRibbonBack() public method

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.
return System

ResetRedirectStates() public method

Reset the redirection states to null.
public ResetRedirectStates ( ) : void
return void

SetRedirectStates() public method

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.
return void

SetRedirectStates() public method

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.
return void