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()
|