Search Results for

    Show / Hide Table of Contents

    Class VerticalScrollBar

    Class VerticalScrollBar. Implements the vertical scrolling mode.

    Inherited Members
    ScrollBarBase._gripperArtefactHeight
    ScrollBarBase._gripperArtefactWidth
    ScrollBarBase._scrollServiceTargetControl
    ScrollBarBase._minimumScrollRange
    ScrollBarBase._maximumScrollRange
    ScrollBarBase._scrollPosition
    ScrollBarBase._earlierScrolledPosition
    ScrollBarBase._smallChange
    ScrollBarBase._largeChange
    ScrollBarBase._shouldAutoScrolingActionEnd
    ScrollBarBase._performCarefulSizing
    ScrollBarBase._executeNavigationEvent
    ScrollBarBase._usingSibling
    ScrollBarBase._parentInstanceUsingThisScrollerInstance
    ScrollBarBase.OnMouseWheel(MouseEventArgs)
    ScrollBarBase.OnParentChanged(EventArgs)
    ScrollBarBase.IsInputKey(Keys)
    ScrollBarBase.OnKeyDown(KeyEventArgs)
    ScrollBarBase.OnKeyUp(KeyEventArgs)
    ScrollBarBase.OnTabStopChanged(EventArgs)
    ScrollBarBase.OnHandleCreated(EventArgs)
    ScrollBarBase.OnPaint(PaintEventArgs)
    ScrollBarBase.WndProc(Message)
    ScrollBarBase.PaintBackground(Graphics)
    ScrollBarBase.DrawScrollNavigator(Graphics, Rectangle, ArrowDrawingArtefact, ControlVisualState)
    ScrollBarBase.DrawThumbArtefactConditional(Graphics, ControlVisualState)
    ScrollBarBase.ScrollBarThumbGripperRenderer
    ScrollBarBase.ScrollBarNavigationButtonRenderer
    ScrollBarBase.ScrollBarThumbRenderer
    ScrollBarBase.ScrollBarTrackRenderer
    ScrollBarBase.ShouldAutomaticallyPositionScroller
    ScrollBarBase.ScrollBarRenderingConfigurator
    ScrollBarBase.ScrollServiceTargetControl
    ScrollBarBase.IsDrawingCustomThumbImage
    ScrollBarBase.Position
    ScrollBarBase.EarlierScrollPosition
    ScrollBarBase.VerticalScrollBarWidth
    ScrollBarBase.PaddingGap
    ScrollBarBase.SmallChange
    ScrollBarBase.LargeChange
    ScrollBarBase.MinimumScrollRange
    ScrollBarBase.MaximumScrollRange
    ScrollBarBase.PositionChanged
    ScrollBarBase.VerticalScrollBarWidthChanged
    ScrollBarBase.HorizontalScrollBarHeightChanged
    Namespace: Binarymission.WinForms.Controls.ScrollBars
    Assembly: Binarymission.WinForms.Controls.ScrollBars.dll
    Syntax
    public class VerticalScrollBar : ScrollBarBase

    Constructors

    VerticalScrollBar()

    Initializes a new instance of the VerticalScrollBar class.

    Declaration
    public VerticalScrollBar()

    VerticalScrollBar(IScrollersDockHost)

    Initializes a new instance of the VerticalScrollBar class.

    Declaration
    public VerticalScrollBar(IScrollersDockHost parentInstanceUsingThisScrollerInstance)
    Parameters
    Type Name Description
    IScrollersDockHost parentInstanceUsingThisScrollerInstance

    Properties

    DefaultSize

    Declaration
    protected override Size DefaultSize { get; }

    HorizontalScrollBarHeight

    This property is not relevant for the vertical mode. Please refer to the base class documentation.

    Declaration
    public override int HorizontalScrollBarHeight { get; set; }
    Overrides
    ScrollBarBase.HorizontalScrollBarHeight

    IsDefaultScrollContextMenuEnabled

    Gets or sets a value indicating whether this instance has the built-in / default scroll context menu enabled.

    Declaration
    public bool IsDefaultScrollContextMenuEnabled { get; set; }

    ShouldUseExtendedMenuControlForContextMenu

    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; }
    Remarks

    Of course, this property is effective only when the vertical and horizontal scroll bar controls have their IsDefaultScrollContextMenuEnabled property set to true.

    Methods

    GetNavigatorControlRect(Boolean)

    Declaration
    protected Rectangle GetNavigatorControlRect(bool isNavigatingUpwards)
    Parameters
    Type Name Description
    Boolean isNavigatingUpwards
    Returns
    Type Description
    Rectangle

    GetThumbArtefactRectangle()

    Declaration
    protected override Rectangle GetThumbArtefactRectangle()
    Returns
    Type Description
    Rectangle
    Overrides
    ScrollBarBase.GetThumbArtefactRectangle()

    OnMouseDown(MouseEventArgs)

    Declaration
    protected override void OnMouseDown(MouseEventArgs e)
    Parameters
    Type Name Description
    MouseEventArgs e

    OnMouseEnter(EventArgs)

    Declaration
    protected override void OnMouseEnter(EventArgs e)
    Parameters
    Type Name Description
    EventArgs e

    OnMouseLeave(EventArgs)

    Declaration
    protected override void OnMouseLeave(EventArgs e)
    Parameters
    Type Name Description
    EventArgs e

    OnMouseMove(MouseEventArgs)

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    MouseEventArgs e

    OnMouseUp(MouseEventArgs)

    Declaration
    protected override void OnMouseUp(MouseEventArgs e)
    Parameters
    Type Name Description
    MouseEventArgs e

    OnResize(EventArgs)

    Declaration
    protected override void OnResize(EventArgs e)
    Parameters
    Type Name Description
    EventArgs e

    OnSizeChanged(EventArgs)

    Declaration
    protected override void OnSizeChanged(EventArgs e)
    Parameters
    Type Name Description
    EventArgs e

    PaintScrollBar(Graphics)

    Declaration
    protected override void PaintScrollBar(Graphics g)
    Parameters
    Type Name Description
    Graphics g
    Overrides
    ScrollBarBase.PaintScrollBar(Graphics)

    PerformSizeRefresh()

    Declaration
    protected override void PerformSizeRefresh()
    Overrides
    ScrollBarBase.PerformSizeRefresh()

    Events

    LineDown

    Occurs when a small change occurs (Position increased).

    Declaration
    public event EventHandler LineDown
    Event Type
    Type Description
    EventHandler

    LineUp

    Occurs when a small change occurs (Position decreased).

    Declaration
    public event EventHandler LineUp
    Event Type
    Type Description
    EventHandler

    PageDown

    Occurs when a large change occurs (Position increased).

    Declaration
    public event EventHandler PageDown
    Event Type
    Type Description
    EventHandler

    PageUp

    Occurs when a large change occurs (Position decreased).

    Declaration
    public event EventHandler PageUp
    Event Type
    Type Description
    EventHandler

    Scroll

    Occurs when a scroll occurs.

    Declaration
    public event ScrollEventHandler Scroll
    Event Type
    Type Description
    ScrollEventHandler

    ThumbDown

    Occurs when the thumb is moved down.

    Declaration
    public event EventHandler<ThumbEventArgs> ThumbDown
    Event Type
    Type Description
    EventHandler<ThumbEventArgs>

    ThumbUp

    Occurs when the thumb is moved up.

    Declaration
    public event EventHandler<ThumbEventArgs> ThumbUp
    Event Type
    Type Description
    EventHandler<ThumbEventArgs>

    VerticalScrollPositionChanged

    Occurs when scroll position changed.

    Declaration
    public event EventHandler<PositionChangedArgs> VerticalScrollPositionChanged
    Event Type
    Type Description
    EventHandler<PositionChangedArgs>
    In This Article
    Back to top Copyright © Binarymission Technologies Ltd., UK.