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