C# Class ComponentFactory.Krypton.Toolkit.KryptonPaletteGrid

Storage of palette grid states.
Inheritance: Storage
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description
ShouldSerializeStateCommon bool
ShouldSerializeStateDisabled bool
ShouldSerializeStateNormal bool
ShouldSerializeStatePressed bool
ShouldSerializeStateSelected bool
ShouldSerializeStateTracking bool

Méthodes publiques

Méthode Description
KryptonPaletteGrid ( PaletteRedirect redirect, GridStyle gridStyle, NeedPaintHandler needPaint ) : System

Initialize a new instance of the KryptonPaletteGrid class.

PopulateFromBase ( KryptonPaletteCommon common, GridStyle gridStyle ) : void

Populate values from the base palette.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

Private Methods

Méthode Description
ShouldSerializeStateCommon ( ) : bool
ShouldSerializeStateDisabled ( ) : bool
ShouldSerializeStateNormal ( ) : bool
ShouldSerializeStatePressed ( ) : bool
ShouldSerializeStateSelected ( ) : bool
ShouldSerializeStateTracking ( ) : bool

Method Details

KryptonPaletteGrid() public méthode

Initialize a new instance of the KryptonPaletteGrid class.
public KryptonPaletteGrid ( PaletteRedirect redirect, GridStyle gridStyle, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Redirector to inherit values from.
gridStyle GridStyle Grid style.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Résultat System

PopulateFromBase() public méthode

Populate values from the base palette.
public PopulateFromBase ( KryptonPaletteCommon common, GridStyle gridStyle ) : void
common KryptonPaletteCommon Reference to common settings.
gridStyle GridStyle Grid style to use for 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