C# Class ComponentFactory.Krypton.Toolkit.PaletteRibbonText

Storage for ribbon text values.
Inheritance: Storage, IPaletteRibbonText
Datei anzeigen Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetRibbonTextColor ( PaletteState state ) : Color

Gets the tab color for the item text.

PaletteRibbonText ( IPaletteRibbonText inheritText, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteRibbonText class.

PaletteRibbonText ( NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteRibbonText class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

ResetTextColor ( ) : void

Reset the TextColor to the default value.

SetInherit ( IPaletteRibbonText inheritText ) : void

Sets the inheritence parent.

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

PaletteRibbonText() public method

Initialize a new instance of the PaletteRibbonText class.
public PaletteRibbonText ( IPaletteRibbonText inheritText, NeedPaintHandler needPaint ) : System
inheritText IPaletteRibbonText Source for inheriting text values.
needPaint NeedPaintHandler Delegate for notifying changes in value.
return System

PaletteRibbonText() public method

Initialize a new instance of the PaletteRibbonText class.
public PaletteRibbonText ( NeedPaintHandler needPaint ) : System
needPaint NeedPaintHandler Delegate for notifying changes in value.
return System

PopulateFromBase() public method

Populate values from the base palette.
public PopulateFromBase ( PaletteState state ) : void
state PaletteState Palette state to use when populating.
return void

ResetTextColor() public method

Reset the TextColor to the default value.
public ResetTextColor ( ) : void
return void

SetInherit() public method

Sets the inheritence parent.
public SetInherit ( IPaletteRibbonText inheritText ) : void
inheritText IPaletteRibbonText
return void