다음을 통해 공유


DiagramClientView.OnGiveFeedback(GiveFeedbackEventArgs) Method

Definition

The GiveFeedback event allows the source of a drag event to modify the appearance of the mouse pointer in order to give the user visual feedback during a drag-and-drop operation.

protected:
 override void OnGiveFeedback(System::Windows::Forms::GiveFeedbackEventArgs ^ gfbevent);
protected override void OnGiveFeedback (System.Windows.Forms.GiveFeedbackEventArgs gfbevent);
override this.OnGiveFeedback : System.Windows.Forms.GiveFeedbackEventArgs -> unit
Protected Overrides Sub OnGiveFeedback (gfbevent As GiveFeedbackEventArgs)

Parameters

Remarks

OnGiveFeedback is responsible for changing the cursor based on the value of GiveFeedbackEventArgs.Effect. GiveFeedbackEventArgs.Effect is the drop effect value returned by the most recent call to OnDragEnter, OnDragOver, or OnDragLeave.

Applies to