C# Class ComponentFactory.Krypton.Toolkit.PaletteTrackBarRedirect

Implement storage for a track bar state.
Inheritance: Storage
Afficher le fichier Open project: Cocotteseb/Krypton Class Usage Examples

Private Properties

Свойство Type Description
ShouldSerializePosition bool
ShouldSerializeTick bool
ShouldSerializeTrack bool

Méthodes publiques

Méthode Description
PaletteTrackBarRedirect ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteTrackBarRedirect class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetRedirector ( PaletteRedirect redirect ) : void

Update the redirector with new reference.

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
ShouldSerializePosition ( ) : bool
ShouldSerializeTick ( ) : bool
ShouldSerializeTrack ( ) : 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

PaletteTrackBarRedirect() public méthode

Initialize a new instance of the PaletteTrackBarRedirect class.
public PaletteTrackBarRedirect ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Inheritence redirection instance.
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