WinUI | ComponentOne
C1.WinUI.Core Assembly / C1.WinUI.Core Namespace / C1ZoomHelper Class / C1ZoomHelper Constructor
An Microsoft.UI.Xaml.UIElement on which the zoom gesture will be listened.
Sets whether is required to press Ctrl key in order to start the gesture.
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.
Sets whether Handled property of mouse wheel events will be set to true.
In This Topic
    C1ZoomHelper Constructor
    In This Topic
    Initializes a new C1ZoomHelper.
    Syntax

    Parameters

    element
    An Microsoft.UI.Xaml.UIElement on which the zoom gesture will be listened.
    ctrlRequired
    Sets whether is required to press Ctrl key in order to start the gesture.
    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.
    handleMouseWheel
    Sets whether Handled property of mouse wheel events will be set to true.
    See Also