2 // System.Windows.Forms.DragEventArgs
5 // stubbed out by Richard Baumann (biochem333@nyc.rr.com)
6 // Implemented by Richard Baumann <biochem333@nyc.rr.com>
7 // Dennis Hayes (dennish@Raytek.com)
8 // Gianandrea Terzi (gianandrea.terzi@lario.com)
10 // (C) Ximian, Inc., 2002
14 using System.Runtime.InteropServices;
16 namespace System.Windows.Forms {
19 /// Provides data for the DragDrop, DragEnter, or DragOver event.
22 public class DragEventArgs : EventArgs {
25 private DragDropEffects allowedEffect;
26 private IDataObject data;
27 private DragDropEffects effect;
34 // --- Constructors/Destructors
36 public DragEventArgs(IDataObject data, int keyState, int x, int y, DragDropEffects allowedEffect, DragDropEffects effect) : base()
39 this.keyState = keyState;
42 this.allowedEffect = allowedEffect;
46 #region Public Properties
49 public DragDropEffects AllowedEffect {
56 public IDataObject Data {
63 public DragDropEffects Effect {