C# Class ComponentFactory.Krypton.Toolkit.KryptonTrackBar

Inheritance: VisualSimpleBase
Datei anzeigen Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description
AdjustSize void
OnDrawScroll void
OnDrawValueChanged void
ResetBackStyle void
ShouldSerializeBackStyle bool
ShouldSerializeOverrideFocus bool
ShouldSerializeStateCommon bool
ShouldSerializeStateDisabled bool
ShouldSerializeStateNormal bool
ShouldSerializeStatePressed bool
ShouldSerializeStateTracking bool

Public Methods

Method Description
KryptonTrackBar ( ) : System

Initialize a new instance of the KryptonTrackBar class.

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.

Protected Methods

Method Description
EvalTransparentPaint ( ) : bool

Work out if this control needs to paint transparent areas.

IsInputKey ( Keys keyData ) : bool

Determines whether the specified key is a regular input key or a special key that requires preprocessing.

OnEnabledChanged ( EventArgs e ) : void

Raises the EnabledChanged event.

OnGotFocus ( EventArgs e ) : void

Raises the GotFocus event.

OnHandleCreated ( EventArgs e ) : void

Raises the HandleCreated event.

OnLostFocus ( EventArgs e ) : void

Raises the LostFocus event.

OnMouseDown ( MouseEventArgs e ) : void

Raises the MouseDown event.

OnMouseWheel ( MouseEventArgs e ) : void

Raises the MouseWheel event.

OnPaddingChanged ( EventArgs e ) : void

Raises the Padding event.

OnRightToLeftChanged ( EventArgs e ) : void

Raises the RightToLeftChanged event.

OnScroll ( EventArgs e ) : void

Raises the Scroll event.

OnValueChanged ( EventArgs e ) : void

Raises the ValueChanged event.

SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void

Performs the work of setting the specified bounds of this control.

WndProc ( Message &m ) : void

Process Windows-based messages.

Private Methods

Method Description
AdjustSize ( ) : void
OnDrawScroll ( object sender, EventArgs e ) : void
OnDrawValueChanged ( object sender, EventArgs e ) : void
ResetBackStyle ( ) : void
ShouldSerializeBackStyle ( ) : bool
ShouldSerializeOverrideFocus ( ) : bool
ShouldSerializeStateCommon ( ) : bool
ShouldSerializeStateDisabled ( ) : bool
ShouldSerializeStateNormal ( ) : bool
ShouldSerializeStatePressed ( ) : bool
ShouldSerializeStateTracking ( ) : bool

Method Details

EvalTransparentPaint() protected method

Work out if this control needs to paint transparent areas.
protected EvalTransparentPaint ( ) : bool
return bool

IsInputKey() protected method

Determines whether the specified key is a regular input key or a special key that requires preprocessing.
protected IsInputKey ( Keys keyData ) : bool
keyData Keys One of the Keys values.
return bool

KryptonTrackBar() public method

Initialize a new instance of the KryptonTrackBar class.
public KryptonTrackBar ( ) : System
return System

OnEnabledChanged() protected method

Raises the EnabledChanged event.
protected OnEnabledChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnGotFocus() protected method

Raises the GotFocus event.
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnHandleCreated() protected method

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

OnLostFocus() protected method

Raises the LostFocus event.
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data.
return void

OnMouseDown() protected method

Raises the MouseDown event.
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs An MouseEventArgs that contains the event data.
return void

OnMouseWheel() protected method

Raises the MouseWheel event.
protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs A MouseEventArgs that contains the event data.
return void

OnPaddingChanged() protected method

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

OnRightToLeftChanged() protected method

Raises the RightToLeftChanged event.
protected OnRightToLeftChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
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

SetBoundsCore() protected method

Performs the work of setting the specified bounds of this control.
protected SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void
x int The new Left property value of the control.
y int The new Top property value of the control.
width int The new Width property value of the control.
height int The new Height property value of the control.
specified BoundsSpecified A bitwise combination of the BoundsSpecified values.
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

WndProc() protected method

Process Windows-based messages.
protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message A Windows-based message.
return void