Partager via


Behavior.OnGiveFeedback(Glyph, GiveFeedbackEventArgs) Méthode

Définition

Autorise un comportement de commentaire de glisser-déplacer personnalisé.

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)

Paramètres

g
Glyph

Glyph sur lequel appeler un comportement de glisser-déplacer.

e
GiveFeedbackEventArgs

GiveFeedbackEventArgs qui contient les données d’événement.

Notes pour les héritiers

Vous pouvez remplacer la OnGiveFeedback(Glyph, GiveFeedbackEventArgs) méthode afin qu’une Behavior instance puisse spécifier ses propres règles de glisser-déplacer.

S’applique à

Voir aussi