Initializes a new
C1ScrollHelper.
Syntax
'Declaration
Public Function New( _
ByVal As System.Windows.UIElement, _
Optional ByVal As System.Boolean, _
Optional ByVal As System.Boolean, _
Optional ByVal handleMouseWheel As System.Boolean _
)
'Usage
Dim element As System.Windows.UIElement
Dim avoidIfCtrlPressed As System.Boolean
Dim continuousScroll As System.Boolean
Dim handleMouseWheel As System.Boolean
Dim instance As New C1ScrollHelper(element, avoidIfCtrlPressed, continuousScroll, handleMouseWheel)
public C1ScrollHelper(
System.Windows.UIElement ,
System.bool ,
System.bool ,
System.bool handleMouseWheel
)
Parameters
- element
- An System.Windows.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