Behavior.OnGiveFeedback(Glyph, GiveFeedbackEventArgs) 方法

定义

允许自定义的拖放反馈行为。

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

参数

g
Glyph

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

e
GiveFeedbackEventArgs

包含事件数据的 GiveFeedbackEventArgs

继承者说明

可以重写 方法,OnGiveFeedback(Glyph, GiveFeedbackEventArgs)Behavior以便 可以指定自己的拖放规则。

适用于

另请参阅