Επεξεργασία

Κοινή χρήση μέσω


Behavior.OnGiveFeedback(Glyph, GiveFeedbackEventArgs) Method

Definition

Permits custom drag-and-drop feedback behavior.

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)

Parameters

g
Glyph

A Glyph on which to invoke drag-and-drop behavior.

e
GiveFeedbackEventArgs

A GiveFeedbackEventArgs that contains the event data.

Notes to Inheritors

You can override the OnGiveFeedback(Glyph, GiveFeedbackEventArgs) method so that a Behavior can specify its own drag-and-drop rules.

Applies to

See also