Name

GiveFeedbackEventArgs

Synopsis

This class encapsulates the event arguments for the Control.GiveFeedback event, which is raised during drag-and-drop operations. When you handle this event, you can use the Effect property to determine what sort of drag-and-drop operation is in progress, and then either UseDefaultCursors or set your own custom cursor.


public class GiveFeedbackEventArgs : EventArgs {

// Public Constructors

   public GiveFeedbackEventArgs(DragDropEffects effect, bool useDefaultCursors);

// Public Instance Properties

   public DragDropEffects Effect{get; }

   public bool UseDefaultCursors{set; get; }

}

Hierarchy

System.Object System.EventArgs GiveFeedbackEventArgs

Passed To

System.Windows.Forms.Design.ComponentTray.OnGiveFeedback(), System.Windows.Forms.Design.ControlDesigner.OnGiveFeedback(), GiveFeedbackEventHandler.{BeginInvoke(), Invoke()}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.