共用方式為


Behavior.OnQueryContinueDrag(Glyph, QueryContinueDragEventArgs) 方法

定義

將這個拖放事件從裝飾項 (Adorner) 視窗傳送至適當的 Behavior 或經過點擊測試的 Glyph

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

參數

g
Glyph

Glyph

e
QueryContinueDragEventArgs

QueryContinueDragEventArgs,其中包含事件資料。

給繼承者的注意事項

您可以覆寫 OnQueryContinueDrag(Glyph, QueryContinueDragEventArgs) 方法,讓 Behavior 可以指定它自己的拖放規則。

適用於

另請參閱