C# Class ComponentFactory.Krypton.Toolkit.PaletteRedirectRibbonDouble

Redirect back/border/text ribbon values based on the incoming state of the request.
Inheritance: PaletteRedirect
Exibir arquivo 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.

GetRibbonTextColor ( PaletteRibbonTextStyle style, PaletteState state ) : Color

Gets the tab color for the item text.

PaletteRedirectRibbonDouble ( IPalette target ) : System

Initialize a new instance of the PaletteRedirectRibbonDouble class.

PaletteRedirectRibbonDouble ( IPalette target, IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack, IPaletteRibbonBack pressedBack, IPaletteRibbonBack trackingBack, IPaletteRibbonBack selectedBack, IPaletteRibbonBack focusOverrideBack, IPaletteRibbonText disabledText, IPaletteRibbonText normalText, IPaletteRibbonText pressedText, IPaletteRibbonText trackingText, IPaletteRibbonText selectedText, IPaletteRibbonText focusOverrideText ) : System

Initialize a new instance of the PaletteRedirectRibbonDouble class.

ResetRedirectStates ( ) : void

Reset the redirection states to null.

SetRedirectStates ( IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack, IPaletteRibbonBack pressedBack, IPaletteRibbonBack trackingBack, IPaletteRibbonBack selectedBack, IPaletteRibbonBack focusOverrideBack, IPaletteRibbonText disabledText, IPaletteRibbonText normalText, IPaletteRibbonText pressedText, IPaletteRibbonText trackingText, IPaletteRibbonText selectedText, IPaletteRibbonText focusOverrideText ) : void

Set the redirection states.

Private Methods

Method Description
GetBackInherit ( PaletteState state ) : IPaletteRibbonBack
GetTextInherit ( PaletteState state ) : IPaletteRibbonText

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

GetRibbonTextColor() public method

Gets the tab color for the item text.
public GetRibbonTextColor ( PaletteRibbonTextStyle style, PaletteState state ) : Color
style PaletteRibbonTextStyle Style of the ribbon color requested.
state PaletteState Palette value should be applicable to this state.
return Color

PaletteRedirectRibbonDouble() public method

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

PaletteRedirectRibbonDouble() public method

Initialize a new instance of the PaletteRedirectRibbonDouble class.
public PaletteRedirectRibbonDouble ( IPalette target, IPaletteRibbonBack disabledBack, IPaletteRibbonBack normalBack, IPaletteRibbonBack pressedBack, IPaletteRibbonBack trackingBack, IPaletteRibbonBack selectedBack, IPaletteRibbonBack focusOverrideBack, IPaletteRibbonText disabledText, IPaletteRibbonText normalText, IPaletteRibbonText pressedText, IPaletteRibbonText trackingText, IPaletteRibbonText selectedText, IPaletteRibbonText focusOverrideText ) : 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.
disabledText IPaletteRibbonText Redirection for text disabled state requests.
normalText IPaletteRibbonText Redirection for text normal state requests.
pressedText IPaletteRibbonText Redirection for text pressed state requests.
trackingText IPaletteRibbonText Redirection for text tracking state requests.
selectedText IPaletteRibbonText Redirection for text selected states requests.
focusOverrideText IPaletteRibbonText Redirection for text 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, IPaletteRibbonBack pressedBack, IPaletteRibbonBack trackingBack, IPaletteRibbonBack selectedBack, IPaletteRibbonBack focusOverrideBack, IPaletteRibbonText disabledText, IPaletteRibbonText normalText, IPaletteRibbonText pressedText, IPaletteRibbonText trackingText, IPaletteRibbonText selectedText, IPaletteRibbonText focusOverrideText ) : 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.
disabledText IPaletteRibbonText Redirection for text disabled state requests.
normalText IPaletteRibbonText Redirection for text normal state requests.
pressedText IPaletteRibbonText Redirection for text pressed state requests.
trackingText IPaletteRibbonText Redirection for text tracking state requests.
selectedText IPaletteRibbonText Redirection for text selected states requests.
focusOverrideText IPaletteRibbonText Redirection for text focus override state requests.
return void