Behavior.OnDragLeave(Glyph, EventArgs) 方法

定义

允许自定义的拖离行为。

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)

参数

g
Glyph

一个 Glyph,拖离行为对其调用。

e
EventArgs

包含事件数据的 DragEventArgs

继承者说明

可以重写 方法,OnDragLeave(Glyph, EventArgs)Behavior以便 可以指定其自己的拖放离开规则。

适用于

另请参阅