C# Class MetroFramework.Controls.MetroScrollBar

Inheritance: MetroControlBase
Datei anzeigen Open project: AshishKilmist/MetroFramework Class Usage Examples

Private Properties

Property Type Description
BeginUpdate void
ChangeThumbPosition void
DrawScrollBar void
EnableTimer void
EndUpdate void
GetThumbPosition int
GetThumbSize int
GetValue int
OnScroll void
ProgressThumb void
ProgressTimerTick void
ResetScrollStatus void
SetupScrollBar void
StopTimer void
autoHoverTimer_Tick void

Public Methods

Method Description
HitTest ( Point point ) : bool
MetroScrollBar ( ) : System
MetroScrollBar ( MetroScrollOrientation orientation ) : System
MetroScrollBar ( MetroScrollOrientation orientation, int width ) : System

Protected Methods

Method Description
OnCustomPaint ( MetroPaintEventArgs e ) : void
OnCustomPaintBackground ( MetroPaintEventArgs e ) : void
OnCustomPaintForeground ( MetroPaintEventArgs e ) : void
OnEnabledChanged ( EventArgs e ) : void
OnEnter ( EventArgs e ) : void
OnGotFocus ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnLeave ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnPaintForeground ( PaintEventArgs e ) : void
OnSizeChanged ( EventArgs e ) : void
ProcessDialogKey ( Keys keyData ) : bool
SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void

Private Methods

Method Description
BeginUpdate ( ) : void
ChangeThumbPosition ( int position ) : void
DrawScrollBar ( Graphics g, Color backColor, Color thumbColor, Color barColor ) : void
EnableTimer ( ) : void
EndUpdate ( ) : void
GetThumbPosition ( ) : int
GetThumbSize ( ) : int
GetValue ( bool smallIncrement, bool up ) : int
OnScroll ( ScrollEventType type, int oldValue, int newValue, ScrollOrientation orientation ) : void
ProgressThumb ( bool enableTimer ) : void
ProgressTimerTick ( object sender, EventArgs e ) : void
ResetScrollStatus ( ) : void
SetupScrollBar ( ) : void
StopTimer ( ) : void
autoHoverTimer_Tick ( object sender, EventArgs e ) : void

Method Details

HitTest() public method

public HitTest ( Point point ) : bool
point Point
return bool

MetroScrollBar() public method

public MetroScrollBar ( ) : System
return System

MetroScrollBar() public method

public MetroScrollBar ( MetroScrollOrientation orientation ) : System
orientation MetroScrollOrientation
return System

MetroScrollBar() public method

public MetroScrollBar ( MetroScrollOrientation orientation, int width ) : System
orientation MetroScrollOrientation
width int
return System

OnCustomPaint() protected method

protected OnCustomPaint ( MetroPaintEventArgs e ) : void
e MetroPaintEventArgs
return void

OnCustomPaintBackground() protected method

protected OnCustomPaintBackground ( MetroPaintEventArgs e ) : void
e MetroPaintEventArgs
return void

OnCustomPaintForeground() protected method

protected OnCustomPaintForeground ( MetroPaintEventArgs e ) : void
e MetroPaintEventArgs
return void

OnEnabledChanged() protected method

protected OnEnabledChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnEnter() protected method

protected OnEnter ( EventArgs e ) : void
e System.EventArgs
return void

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnLeave() protected method

protected OnLeave ( EventArgs e ) : void
e System.EventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseEnter() protected method

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseLeave() protected method

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintBackground() protected method

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintForeground() protected method

protected OnPaintForeground ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnSizeChanged() protected method

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
return void

ProcessDialogKey() protected method

protected ProcessDialogKey ( Keys keyData ) : bool
keyData Keys
return bool

SetBoundsCore() protected method

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