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


In This Topic
    DragModifiers Property
    In This Topic
     Gets or sets keys that must be pressed to pan the content by dragging it.
    Syntax
    'Declaration
     
    <TypeConverterAttribute(Xceed.Wpf.Toolkit.Core.Input.KeyModifierCollectionConverter)>
    Public Property DragModifiers As KeyModifierCollection
    'Usage
     
    Dim instance As Zoombox
    Dim value As KeyModifierCollection
     
    instance.DragModifiers = value
     
    value = instance.DragModifiers
    [TypeConverter(Xceed.Wpf.Toolkit.Core.Input.KeyModifierCollectionConverter)]
    public KeyModifierCollection DragModifiers {get; set;}

    Property Value

    All specified keys must be pressed in order for the operation to occur. If None is specified, the content will be dragged without any modifier keys. If the collection includes Blocked, the content cannot be dragged. 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