C# Class ComponentFactory.Krypton.Toolkit.PaletteTrackBarStates

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

Private Properties

Property Type Description
ShouldSerializePosition bool
ShouldSerializeTick bool
ShouldSerializeTrack bool

Public Methods

Method 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

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

Method Details

PaletteTrackBarStates() public method

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

PaletteTrackBarStates() public method

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

SetInherit() public method

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