ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / C1ScrollHelper Class / C1ScrollHelper Constructor
An Windows.UI.Xaml.UIElement on which the zoom gesture will be listened.
Sets whether is required to press Ctrl key in order to start the gesture.
If set to true it will raise intermediate events to perform a continuous scroll, otherwise the events will be raised from native mouse wheel events.
Sets whether Handled property of mouse wheel events will be set to true.

In This Topic
    C1ScrollHelper Constructor
    In This Topic
    Initializes a new C1ScrollHelper.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal element As Windows.UI.Xaml.UIElement, _
       Optional ByVal avoidIfCtrlPressed As System.Boolean, _
       Optional ByVal continuousScroll As System.Boolean, _
       Optional ByVal handleMouseWheel As System.Boolean _
    )
    public C1ScrollHelper( 
       Windows.UI.Xaml.UIElement element,
       System.bool avoidIfCtrlPressed,
       System.bool continuousScroll,
       System.bool handleMouseWheel
    )

    Parameters

    element
    An Windows.UI.Xaml.UIElement on which the zoom gesture will be listened.
    avoidIfCtrlPressed
    Sets whether is required to press Ctrl key in order to start the gesture.
    continuousScroll
    If set to true it will raise intermediate events to perform a continuous scroll, otherwise the events will be raised from native mouse wheel events.
    handleMouseWheel
    Sets whether Handled property of mouse wheel events will be set to true.
    See Also