Redigera

Dela via


Behavior.OnDragOver(Glyph, DragEventArgs) Method

Definition

Permits custom drag-over behavior.

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

Parameters

g
Glyph

A Glyph on which to invoke drag-over behavior.

e
DragEventArgs

A DragEventArgs that contains the event data.

Notes to Inheritors

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

Applies to

See also