[]
        
(Showing Draft Content)

C1.WPF.C1ScrollHelper.-ctor

C1ScrollHelper Constructor

C1ScrollHelper(UIElement, bool, bool, bool)

Initializes a new C1ScrollHelper.

Declaration
public C1ScrollHelper(UIElement element, bool avoidIfCtrlPressed = true, bool continuousScroll = true, bool handleMouseWheel = true)
Parameters
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.