Class VerticalScrollBar
Class VerticalScrollBar. Implements the vertical scrolling mode.
Assembly: Binarymission.WinForms.Controls.ScrollBars.dll
public class VerticalScrollBar : ScrollBarBase
Constructors
Declaration
public VerticalScrollBar()
Declaration
public VerticalScrollBar(IScrollersDockHost parentInstanceUsingThisScrollerInstance)
Parameters
Properties
Declaration
protected override Size DefaultSize { get; }
This property is not relevant for the vertical mode. Please refer to the base class documentation.
Declaration
public override int HorizontalScrollBarHeight { get; set; }
Overrides
Gets or sets a value indicating whether this instance has the built-in / default scroll context menu enabled.
Declaration
public bool IsDefaultScrollContextMenuEnabled { get; set; }
Gets or sets a value indicating whether the control should use the extended Binarymission menu control for displaying the context menu.
Declaration
public bool ShouldUseExtendedMenuControlForContextMenu { get; set; }
Methods
Declaration
protected Rectangle GetNavigatorControlRect(bool isNavigatingUpwards)
Parameters
Type |
Name |
Description |
Boolean |
isNavigatingUpwards |
|
Returns
Declaration
protected override Rectangle GetThumbArtefactRectangle()
Returns
Overrides
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
Declaration
protected override void OnResize(EventArgs e)
Parameters
Declaration
protected override void OnSizeChanged(EventArgs e)
Parameters
Declaration
protected override void PaintScrollBar(Graphics g)
Parameters
Overrides
Declaration
protected override void PerformSizeRefresh()
Overrides
Events
Occurs when a small change occurs (Position increased).
Declaration
public event EventHandler LineDown
Event Type
Occurs when a small change occurs (Position decreased).
Declaration
public event EventHandler LineUp
Event Type
PageDown
Occurs when a large change occurs (Position increased).
Declaration
public event EventHandler PageDown
Event Type
PageUp
Occurs when a large change occurs (Position decreased).
Declaration
public event EventHandler PageUp
Event Type
Occurs when a scroll occurs.
Declaration
public event ScrollEventHandler Scroll
Event Type
Occurs when the thumb is moved down.
Declaration
public event EventHandler<ThumbEventArgs> ThumbDown
Event Type
Occurs when the thumb is moved up.
Declaration
public event EventHandler<ThumbEventArgs> ThumbUp
Event Type
Occurs when scroll position changed.
Declaration
public event EventHandler<PositionChangedArgs> VerticalScrollPositionChanged
Event Type