Search Results for

    Show / Hide Table of Contents

    Class HorizontalScrollBar

    Class HorizontalScrollBar. Implements the horizontal mode scroll bar.

    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.HorizontalScrollBarHeight
    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 HorizontalScrollBar : ScrollBarBase

    Constructors

    HorizontalScrollBar()

    Initializes a new instance of the HorizontalScrollBar class.

    Declaration
    public HorizontalScrollBar()

    HorizontalScrollBar(IScrollersDockHost)

    Initializes a new instance of the HorizontalScrollBar class.

    Declaration
    public HorizontalScrollBar(IScrollersDockHost parent)
    Parameters
    Type Name Description
    IScrollersDockHost parent

    The parent.

    Properties

    DefaultSize

    Declaration
    protected override Size DefaultSize { get; }

    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.

    VerticalScrollBarWidth

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

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

    Methods

    GetNavigatorControlRect(Boolean)

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

    GetThumbArtefactRectangle()

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

    HitTest(Point)

    Performs hit test and returns the target artefact.

    Declaration
    public ScrollBarInteractionTarget HitTest(Point point)
    Parameters
    Type Name Description
    Point point
    Returns
    Type Description
    ScrollBarInteractionTarget

    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

    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

    HorizontalScrollPositionChanged

    Occurs when scroll position changed.

    Declaration
    public event EventHandler<PositionChangedArgs> HorizontalScrollPositionChanged
    Event Type
    Type Description
    EventHandler<PositionChangedArgs>

    LineLeft

    Occurs when a line is moved to its left (left arrow key).

    Declaration
    public event EventHandler LineLeft
    Event Type
    Type Description
    EventHandler

    LineRight

    Occurs when a line is moved to its right (right arrow key).

    Declaration
    public event EventHandler LineRight
    Event Type
    Type Description
    EventHandler

    PageLeft

    Occurs when a large change occurs (to its left).

    Declaration
    public event EventHandler PageLeft
    Event Type
    Type Description
    EventHandler

    PageRight

    Occurs when a large change occurs (to its right).

    Declaration
    public event EventHandler PageRight
    Event Type
    Type Description
    EventHandler

    Scroll

    Occurs when a scroll occurs.

    Declaration
    public event ScrollEventHandler Scroll
    Event Type
    Type Description
    ScrollEventHandler

    ThumbLeft

    Occurs when the thumb is moved to its left.

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

    ThumbRight

    Occurs when the thumb is moved to its right.

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