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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Protected Overrides Sub OnPreviewDragEnter ( _
e As DragEventArgs _
)
protected override void OnPreviewDragEnter(
DragEventArgs e
)
Parameters
- e
Type: System.Windows.DragEventArgs
The event data for the Drag event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.