C# Class ComponentFactory.Krypton.Toolkit.PaletteDouble

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

Private Properties

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

Méthodes publiques

Méthode Description
PaletteDouble ( IPaletteDouble inherit ) : System

Initialize a new instance of the PaletteDouble class.

PaletteDouble ( IPaletteDouble inherit, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteDouble class.

PaletteDouble ( IPaletteDouble inherit, PaletteBack back, PaletteBorder border, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteDouble class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetInherit ( IPaletteDouble 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

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

PaletteDouble() public méthode

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

PaletteDouble() public méthode

Initialize a new instance of the PaletteDouble class.
public PaletteDouble ( IPaletteDouble inherit, NeedPaintHandler needPaint ) : System
inherit IPaletteDouble Source for inheriting values.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Résultat System

PaletteDouble() public méthode

Initialize a new instance of the PaletteDouble class.
public PaletteDouble ( IPaletteDouble inherit, PaletteBack back, PaletteBorder border, NeedPaintHandler needPaint ) : System
inherit IPaletteDouble Source for inheriting values.
back PaletteBack Reference to back storage.
border PaletteBorder Reference to border storage.
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 The palette state to populate with.
Résultat void

SetInherit() public méthode

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