共用方式為


SearchControl.OnPreviewDragOver Method

Provides class handling for dragging objects over the control or any element derived from this control.

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

Syntax

'宣告
Protected Overrides Sub OnPreviewDragOver ( _
    e As DragEventArgs _
)
protected override void OnPreviewDragOver(
    DragEventArgs e
)

Parameters

.NET Framework Security

See Also

Reference

SearchControl Class

Microsoft.VisualStudio.PlatformUI Namespace