Behavior.OnDragEnter Method (Glyph, DragEventArgs)

 

Permits custom drag-enter behavior.

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

public virtual void OnDragEnter(
	Glyph g,
	DragEventArgs e
)

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: