ItemDragEventArgs

ItemDragEventArgs

System. Windows .Forms (system. windows .forms.dll) class

When the user begins to drag an item from the ListView or TreeView controls, they raise an ItemDrag event. This class encapsulates the Item that is being dragged and the Button that initiated the drag.

 public class  ItemDragEventArgs  : EventArgs {  // Public Constructors  public  ItemDragEventArgs  (MouseButtons  button  );    public  ItemDragEventArgs  (MouseButtons  button  , object  item  );  // Public Instance Properties  public MouseButtons  Button  {get; }    public object  Item  {get; } } 

Hierarchy

System.Object System.EventArgs ItemDragEventArgs

Passed To

ItemDragEventHandler.{BeginInvoke() , Invoke()} , ListView.OnItemDrag() , TreeView.OnItemDrag()



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net