March 2003
Intermediate to advanced
896 pages
32h 35m
English
ItemDragEventArgs
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; } }
System.Object
→ System.EventArgs → ItemDragEventArgs
ItemDragEventHandler.{BeginInvoke(),
Invoke()}, ListView.OnItemDrag(), TreeView.OnItemDrag()
Read now
Unlock full access