'Declaration Public Event DragStarting As EventHandler(Of DragDropCancelEventArgs)
'Usage Dim instance As ListBox Dim handler As EventHandler(Of DragDropCancelEventArgs) AddHandler instance.DragStarting, handler
public event EventHandler<DragDropCancelEventArgs> DragStarting
Event Data
The event handler receives an argument of type DragDropCancelEventArgs containing data related to this event. The following DragDropCancelEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the drag-drop operation is canceled. |
DragDropContext | (Inherited from Xceed.Wpf.DragDrop.DragDropEventArgs) |
Requirements
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also