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


In This Topic
    DragOnPreview Property
    In This Topic
    Gets or sets whether the Zoombox responds to tunneled mouse events to pan the content via a mouse drag.
    Syntax
    'Declaration
     
    Public Property DragOnPreview As Boolean
    'Usage
     
    Dim instance As Zoombox
    Dim value As Boolean
     
    instance.DragOnPreview = value
     
    value = instance.DragOnPreview
    public bool DragOnPreview {get; set;}

    Property Value

    Tunneled mouse events include PreviewMouseDown, PreviewMouseMove, and PreviewMouseUp. If false, panning occurs in response to the bubbled events (MouseDown, MouseMove, and MouseUp). The default value is false.
    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