C# Class MetroFramework.Controls.MetroScrollBar

Inheritance: MetroControlBase
Afficher le fichier Open project: AshishKilmist/MetroFramework Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode Description
HitTest ( Point point ) : bool
MetroScrollBar ( ) : System
MetroScrollBar ( MetroScrollOrientation orientation ) : System
MetroScrollBar ( MetroScrollOrientation orientation, int width ) : System

Méthodes protégées

Méthode 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

Méthode 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 méthode

public HitTest ( Point point ) : bool
point Point
Résultat bool

MetroScrollBar() public méthode

public MetroScrollBar ( ) : System
Résultat System

MetroScrollBar() public méthode

public MetroScrollBar ( MetroScrollOrientation orientation ) : System
orientation MetroScrollOrientation
Résultat System

MetroScrollBar() public méthode

public MetroScrollBar ( MetroScrollOrientation orientation, int width ) : System
orientation MetroScrollOrientation
width int
Résultat System

OnCustomPaint() protected méthode

protected OnCustomPaint ( MetroPaintEventArgs e ) : void
e MetroPaintEventArgs
Résultat void

OnCustomPaintBackground() protected méthode

protected OnCustomPaintBackground ( MetroPaintEventArgs e ) : void
e MetroPaintEventArgs
Résultat void

OnCustomPaintForeground() protected méthode

protected OnCustomPaintForeground ( MetroPaintEventArgs e ) : void
e MetroPaintEventArgs
Résultat void

OnEnabledChanged() protected méthode

protected OnEnabledChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnEnter() protected méthode

protected OnEnter ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnGotFocus() protected méthode

protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnKeyDown() protected méthode

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
Résultat void

OnKeyUp() protected méthode

protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
Résultat void

OnLeave() protected méthode

protected OnLeave ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnLostFocus() protected méthode

protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseEnter() protected méthode

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseLeave() protected méthode

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseMove() protected méthode

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseUp() protected méthode

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseWheel() protected méthode

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnPaintBackground() protected méthode

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnPaintForeground() protected méthode

protected OnPaintForeground ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

OnSizeChanged() protected méthode

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

ProcessDialogKey() protected méthode

protected ProcessDialogKey ( Keys keyData ) : bool
keyData Keys
Résultat bool

SetBoundsCore() protected méthode

protected SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void
x int
y int
width int
height int
specified BoundsSpecified
Résultat void