C# Class ComponentFactory.Krypton.Toolkit.PaletteRibbonText

Storage for ribbon text values.
Inheritance: Storage, IPaletteRibbonText
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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

PaletteRibbonText() public méthode

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.
Résultat System

PaletteRibbonText() public méthode

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

PopulateFromBase() public méthode

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

ResetTextColor() public méthode

Reset the TextColor to the default value.
public ResetTextColor ( ) : void
Résultat void

SetInherit() public méthode

Sets the inheritence parent.
public SetInherit ( IPaletteRibbonText inheritText ) : void
inheritText IPaletteRibbonText
Résultat void