Behavior.OnDragDrop(Glyph, DragEventArgs) メソッド

定義

カスタムのドラッグ アンド ドロップ動作を許可します。

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

パラメーター

g
Glyph

ドラッグ アンド ドロップ動作を呼び出す Glyph オブジェクト。

e
DragEventArgs

イベント データを格納している DragEventArgs

注意 (継承者)

メソッドを OnDragDrop(Glyph, DragEventArgs) オーバーライドして、独自の Behavior ドラッグ アンド ドロップ規則を指定できるようにします。

適用対象

こちらもご覧ください