Compartilhar via


SearchControl.OnPreviewDrop Method

Provides class handling for dropping objects into the control or any element derived from this control.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Protected Overrides Sub OnPreviewDrop ( _
    e As DragEventArgs _
)
protected override void OnPreviewDrop(
    DragEventArgs e
)
protected:
virtual void OnPreviewDrop(
    DragEventArgs^ e
) override
abstract OnPreviewDrop : 
        e:DragEventArgs -> unit  
override OnPreviewDrop : 
        e:DragEventArgs -> unit
protected override function OnPreviewDrop(
    e : DragEventArgs
)

Parameters

  • e
    Type: DragEventArgs

    The event data for the Drag event.

.NET Framework Security

See Also

Reference

SearchControl Class

Microsoft.VisualStudio.PlatformUI Namespace