Επεξεργασία

Κοινή χρήση μέσω


Behavior.OnDragEnter(Glyph, DragEventArgs) Method

Definition

Permits custom drag-enter behavior.

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

Parameters

g
Glyph

A Glyph on which to invoke drag-enter behavior.

e
DragEventArgs

A DragEventArgs that contains the event data.

Notes to Inheritors

You can override the OnDragEnter(Glyph, DragEventArgs) method so that a Behavior can specify its own drag-enter rules.

Applies to

See also