C# Class ComponentFactory.Krypton.Toolkit.PaletteTrackBarRedirect

Implement storage for a track bar state.
Inheritance: Storage
Datei anzeigen Open project: Cocotteseb/Krypton Class Usage Examples

Private Properties

Property Type Description
ShouldSerializePosition bool
ShouldSerializeTick bool
ShouldSerializeTrack bool

Public Methods

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

Protected Methods

Method Description
OnNeedPaint ( object sender, bool needLayout ) : void

Handle a change event from palette source.

Private Methods

Method Description
ShouldSerializePosition ( ) : bool
ShouldSerializeTick ( ) : bool
ShouldSerializeTrack ( ) : bool

Method Details

OnNeedPaint() protected method

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.
return void

PaletteTrackBarRedirect() public method

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.
return System

PopulateFromBase() public method

Populate values from the base palette.
public PopulateFromBase ( PaletteState state ) : void
state PaletteState Palette state to use when populating.
return void

SetRedirector() public method

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