C# Class ComponentFactory.Krypton.Toolkit.PaletteTriple

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

Private Properties

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

Méthodes publiques

Méthode Description
PaletteTriple ( IPaletteTriple inherit ) : System

Initialize a new instance of the PaletteTriple class.

PaletteTriple ( IPaletteTriple inherit, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteTriple class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetInherit ( IPaletteTriple inherit ) : void

Sets the inheritence parent.

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
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

PaletteTriple() public méthode

Initialize a new instance of the PaletteTriple class.
public PaletteTriple ( IPaletteTriple inherit ) : System
inherit IPaletteTriple Source for inheriting values.
Résultat System

PaletteTriple() public méthode

Initialize a new instance of the PaletteTriple class.
public PaletteTriple ( IPaletteTriple inherit, NeedPaintHandler needPaint ) : System
inherit IPaletteTriple Source for inheriting values.
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

SetInherit() public méthode

Sets the inheritence parent.
public SetInherit ( IPaletteTriple inherit ) : void
inherit IPaletteTriple
Résultat void