C# Class ComponentFactory.Krypton.Toolkit.PaletteTabTripleRedirect

Implement storage for tab specific palette border, background and content.
Inheritance: Storage, IPaletteTriple
Afficher le fichier Open project: Cocotteseb/Krypton Class Usage Examples

Private Properties

Свойство Type Description
SetStyles void
ShouldSerializeBack bool
ShouldSerializeBorder bool
ShouldSerializeContent bool

Méthodes publiques

Méthode Description
PaletteTabTripleRedirect ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteTabTripleRedirect class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

SetStyles ( TabStyle tabStyle ) : void

Update the palette styles using a tab style.

Méthodes protégées

Méthode Description
OnNeedPaint ( object sender, bool needLayout ) : void

Handle a change event from palette source.

Private Methods

Méthode Description
SetStyles ( PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle ) : void
ShouldSerializeBack ( ) : bool
ShouldSerializeBorder ( ) : bool
ShouldSerializeContent ( ) : bool

Method Details

OnNeedPaint() protected méthode

Handle a change event from palette source.
protected OnNeedPaint ( object sender, bool needLayout ) : void
sender object Source of the event.
needLayout bool True if a layout is also needed.
Résultat void

PaletteTabTripleRedirect() public méthode

Initialize a new instance of the PaletteTabTripleRedirect class.
public PaletteTabTripleRedirect ( PaletteRedirect redirect, PaletteBackStyle backStyle, PaletteBorderStyle borderStyle, PaletteContentStyle contentStyle, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Inheritence redirection instance.
backStyle PaletteBackStyle Initial background style.
borderStyle PaletteBorderStyle Initial border style.
contentStyle PaletteContentStyle Initial content style.
needPaint NeedPaintHandler Delegate for notifying paint requests.
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

SetRedirector() public méthode

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

SetStyles() public méthode

Update the palette styles using a tab style.
public SetStyles ( TabStyle tabStyle ) : void
tabStyle TabStyle New tab style.
Résultat void