Behavior.OnDragLeave(Glyph, EventArgs) Method

Definition

Permits custom drag-leave behavior.

public:
 virtual void OnDragLeave(System::Windows::Forms::Design::Behavior::Glyph ^ g, EventArgs ^ e);
public virtual void OnDragLeave (System.Windows.Forms.Design.Behavior.Glyph g, EventArgs e);
public virtual void OnDragLeave (System.Windows.Forms.Design.Behavior.Glyph? g, EventArgs e);
abstract member OnDragLeave : System.Windows.Forms.Design.Behavior.Glyph * EventArgs -> unit
override this.OnDragLeave : System.Windows.Forms.Design.Behavior.Glyph * EventArgs -> unit
Public Overridable Sub OnDragLeave (g As Glyph, e As EventArgs)

Parameters

g
Glyph

A Glyph on which to invoke drag-leave behavior.

e
EventArgs

A DragEventArgs that contains the event data.

Notes to Inheritors

You can override the OnDragLeave(Glyph, EventArgs) method so that a Behavior can specify its own drag-leave rules.

Applies to

See also