C# Class ComponentFactory.Krypton.Toolkit.PaletteRibbonTextInheritRedirect

Provide inheritance of palette ribbon text properties from source redirector.
Inheritance: PaletteRibbonTextInherit
Mostra file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
GetRibbonTextColor ( PaletteState state ) : Color

Gets the tab color for the item text.

PaletteRibbonTextInheritRedirect ( PaletteRedirect redirect, PaletteRibbonTextStyle styleText ) : System

Initialize a new instance of the PaletteRibbonTextInheritRedirect class.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

Method Details

GetRibbonTextColor() public method

Gets the tab color for the item text.
public GetRibbonTextColor ( PaletteState state ) : Color
state PaletteState Palette value should be applicable to this state.
return Color

PaletteRibbonTextInheritRedirect() public method

Initialize a new instance of the PaletteRibbonTextInheritRedirect class.
public PaletteRibbonTextInheritRedirect ( PaletteRedirect redirect, PaletteRibbonTextStyle styleText ) : System
redirect PaletteRedirect Source for inherit requests.
styleText PaletteRibbonTextStyle Ribbon item text style.
return System

SetRedirector() public method

Update the redirector with new reference.
public SetRedirector ( PaletteRedirect redirect ) : void
redirect PaletteRedirect Target redirector.
return void