OnDragEnter Method

Behavior.OnDragEnter Method (Glyph, DragEventArgs)

 

Permits custom drag-enter behavior.

Namespace:   System.Windows.Forms.Design.Behavior
Assembly:  System.Design (in System.Design.dll)

Public Overridable Sub OnDragEnter (
	g As Glyph,
	e As DragEventArgs
)

Parameters

g
Type: System.Windows.Forms.Design.Behavior.Glyph

A Glyph on which to invoke drag-enter behavior.

e
Type: System.Windows.Forms.DragEventArgs

A DragEventArgs that contains the event data.

Notes to Inheritors:

You can override the OnDragEnter method so that a Behavior can specify its own drag-enter rules.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft