Initializes a new C1ZoomHelper.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public C1ZoomHelper(
	UIElement element,
	bool ctrlRequired = true,
	bool continuousZoom = true,
	bool handleMouseWheel = true
)
Visual Basic
Public Sub New ( _
	element As UIElement, _
	Optional ctrlRequired As Boolean = True, _
	Optional continuousZoom As Boolean = True, _
	Optional handleMouseWheel As Boolean = True _
)

Parameters

element
Type: System.Windows..::..UIElement
An UIElement on which the zoom gesture will be listened.
ctrlRequired (Optional)
Type: System..::..Boolean
Sets whether is required to press Ctrl key in order to start the gesture.
continuousZoom (Optional)
Type: System..::..Boolean
If set to true it will raise intermediate events to perform a continuous zoom, otherwise the events will be raised from native mouse wheel events.
handleMouseWheel (Optional)
Type: System..::..Boolean
Sets whether Handled property of mouse wheel events will be set to true.

See Also