C# Class ComponentFactory.Krypton.Toolkit.PaletteTrackBarStates

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
PaletteTrackBarStates ( IPaletteElementColor inheritTick, IPaletteElementColor inheritTrack, IPaletteElementColor inheritPosition, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteTrackBarStates class.

PaletteTrackBarStates ( PaletteTrackBarRedirect redirect, NeedPaintHandler needPaint ) : System

Initialize a new instance of the PaletteTrackBarStates class.

PopulateFromBase ( PaletteState state ) : void

Populate values from the base palette.

SetInherit ( IPaletteElementColor inheritTick, IPaletteElementColor inheritTrack, IPaletteElementColor inheritPosition ) : void

Sets the inheritence parent.

Private Methods

Méthode Description
ShouldSerializePosition ( ) : bool
ShouldSerializeTick ( ) : bool
ShouldSerializeTrack ( ) : bool

Method Details

PaletteTrackBarStates() public méthode

Initialize a new instance of the PaletteTrackBarStates class.
public PaletteTrackBarStates ( IPaletteElementColor inheritTick, IPaletteElementColor inheritTrack, IPaletteElementColor inheritPosition, NeedPaintHandler needPaint ) : System
inheritTick IPaletteElementColor Source for inheriting tick values.
inheritTrack IPaletteElementColor Source for inheriting track values.
inheritPosition IPaletteElementColor Source for inheriting position values.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Résultat System

PaletteTrackBarStates() public méthode

Initialize a new instance of the PaletteTrackBarStates class.
public PaletteTrackBarStates ( PaletteTrackBarRedirect redirect, NeedPaintHandler needPaint ) : System
redirect PaletteTrackBarRedirect 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 ( IPaletteElementColor inheritTick, IPaletteElementColor inheritTrack, IPaletteElementColor inheritPosition ) : void
inheritTick IPaletteElementColor Source for inheriting tick values.
inheritTrack IPaletteElementColor Source for inheriting track values.
inheritPosition IPaletteElementColor Source for inheriting position values.
Résultat void