[]
Initializes a new C1ScrollHelper.
public C1ScrollHelper(UIElement element, bool avoidIfCtrlPressed = true, bool continuousScroll = true, bool handleMouseWheel = true)
Type | Name | Description |
---|---|---|
UIElement | element | An UIElement on which the zoom gesture will be listened. |
bool | avoidIfCtrlPressed | Sets whether is required to press Ctrl key in order to start the gesture. |
bool | 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. |
bool | handleMouseWheel | Sets whether Handled property of mouse wheel events will be set to true. |