Behavior.OnGiveFeedback(Glyph, GiveFeedbackEventArgs) Metoda

Definicja

Zezwala na niestandardowe zachowanie przesyłania zwrotnego przeciągania i upuszczania.

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)

Parametry

g
Glyph

Element Glyph , na którym należy wywołać zachowanie przeciągania i upuszczania.

e
GiveFeedbackEventArgs

Element GiveFeedbackEventArgs zawierający dane zdarzenia.

Uwagi dotyczące dziedziczenia

Można zastąpić metodę OnGiveFeedback(Glyph, GiveFeedbackEventArgs) , aby Behavior można było określić własne reguły przeciągania i upuszczania.

Dotyczy

Zobacz też