Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Zoombox Namespace / Zoombox Class / ZoomModifiers Property


In This Topic
    ZoomModifiers Property
    In This Topic
    Gets or sets keys that must be pressed to zoom the content relative to its ZoomOrigin using the mouse wheel.
    Syntax
    'Declaration
     
    <TypeConverterAttribute(Xceed.Wpf.Toolkit.Core.Input.KeyModifierCollectionConverter)>
    Public Property ZoomModifiers As KeyModifierCollection
    'Usage
     
    Dim instance As Zoombox
    Dim value As KeyModifierCollection
     
    instance.ZoomModifiers = value
     
    value = instance.ZoomModifiers
    [TypeConverter(Xceed.Wpf.Toolkit.Core.Input.KeyModifierCollectionConverter)]
    public KeyModifierCollection ZoomModifiers {get; set;}

    Property Value

    All specified keys must be pressed in order for the operation to occur. If None is specified, the relative zoom will occur without any modifier keys. If the collection includes Blocked, a zoom cannot be performed. The default value includes only the Ctrl key.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also