Condividi tramite


SearchControl.OnPreviewDragEnter Method

Provides class handling for dragging 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 OnPreviewDragEnter ( _
    e As DragEventArgs _
)
protected override void OnPreviewDragEnter(
    DragEventArgs e
)
protected:
virtual void OnPreviewDragEnter(
    DragEventArgs^ e
) override
abstract OnPreviewDragEnter : 
        e:DragEventArgs -> unit  
override OnPreviewDragEnter : 
        e:DragEventArgs -> unit
protected override function OnPreviewDragEnter(
    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