Sdílet prostřednictvím


Behavior.OnDragEnter(Glyph, DragEventArgs) Metoda

Definice

Umožňuje vlastní chování při přetažení.

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)

Parametry

g
Glyph

Objekt Glyph , na kterém se má vyvolat chování přetažením.

e
DragEventArgs

A DragEventArgs , který obsahuje data události.

Poznámky pro dědice

Můžete přepsat metodu OnDragEnter(Glyph, DragEventArgs) tak, aby Behavior mohl zadat vlastní pravidla přetažení.

Platí pro

Viz také