'Declaration
Public Function New( _ ByVal element As UIElement, _ Optional ByVal avoidIfCtrlPressed As Boolean, _ Optional ByVal continuousScroll As Boolean, _ Optional ByVal handleMouseWheel As Boolean _ )
'Usage
Dim element As UIElement Dim avoidIfCtrlPressed As Boolean Dim continuousScroll As Boolean Dim handleMouseWheel As Boolean Dim instance As New C1ScrollHelper(element, avoidIfCtrlPressed, continuousScroll, handleMouseWheel)
public C1ScrollHelper( UIElement element, bool avoidIfCtrlPressed, bool continuousScroll, bool handleMouseWheel )
public: C1ScrollHelper( UIElement^ element, bool avoidIfCtrlPressed, bool continuousScroll, 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.