C# Class ComponentFactory.Krypton.Toolkit.ViewDrawTrackBar

Draw and operate a track bar.
Inheritance: ViewDrawPanel
Mostra file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
OnMouseWheel ( MouseEventArgs e ) : void

Processes the MouseWheel event.

PerformNeedPaint ( bool needLayout ) : void

Raises a need paint event.

SetFixedState ( PaletteState state ) : void

Fix the control to a particular palette state.

SetRange ( int minValue, int maxValue ) : void

Sets the minimum and maximum values for a TrackBar.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawTrackBar ( PaletteTrackBarStatesOverride stateNormal, PaletteTrackBarStates stateDisabled, PaletteTrackBarPositionStatesOverride stateTracking, PaletteTrackBarPositionStatesOverride statePressed, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ViewDrawTrackBar class.

Protected Methods

Method Description
OnScroll ( EventArgs e ) : void

Raises the Scroll event.

OnValueChanged ( EventArgs e ) : void

Raises the ValueChanged event.

Method Details

OnMouseWheel() public method

Processes the MouseWheel event.
public OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs Event arguments for the event.
return void

OnScroll() protected method

Raises the Scroll event.
protected OnScroll ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
return void

OnValueChanged() protected method

Raises the ValueChanged event.
protected OnValueChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
return void

PerformNeedPaint() public method

Raises a need paint event.
public PerformNeedPaint ( bool needLayout ) : void
needLayout bool Does the layout need recalculating.
return void

SetFixedState() public method

Fix the control to a particular palette state.
public SetFixedState ( PaletteState state ) : void
state PaletteState Palette state to fix.
return void

SetRange() public method

Sets the minimum and maximum values for a TrackBar.
public SetRange ( int minValue, int maxValue ) : void
minValue int The lower limit of the range of the track bar.
maxValue int The upper limit of the range of the track bar.
return void

ToString() public method

Obtains the String representation of this instance.
public ToString ( ) : string
return string

ViewDrawTrackBar() public method

Initialize a new instance of the ViewDrawTrackBar class.
public ViewDrawTrackBar ( PaletteTrackBarStatesOverride stateNormal, PaletteTrackBarStates stateDisabled, PaletteTrackBarPositionStatesOverride stateTracking, PaletteTrackBarPositionStatesOverride statePressed, NeedPaintHandler needPaint ) : System
stateNormal PaletteTrackBarStatesOverride Referenece to normal state values.
stateDisabled PaletteTrackBarStates Referenece to disabled state values.
stateTracking PaletteTrackBarPositionStatesOverride Referenece to tracking state values.
statePressed PaletteTrackBarPositionStatesOverride Referenece to pressed state values.
needPaint NeedPaintHandler Delegate used to request repainting.
return System