Xceed Toolkit Plus for WPF v4.6 Documentation
IDropTargetCanDropElement Event


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.ListBox Namespace > ListBox Class : IDropTargetCanDropElement Event
Raised when a drag operation enters an IDropTarget.
Syntax
'Declaration
 
Public Event IDropTargetCanDropElement As CanDropEventHandler
'Usage
 
Dim instance As ListBox

Dim handler As CanDropEventHandler

 

AddHandler instance.IDropTargetCanDropElement, handler
public event CanDropEventHandler IDropTargetCanDropElement
Event Data

The event handler receives an argument of type DropEventArgs containing data related to this event. The following DropEventArgs properties provide information specific to this event.

PropertyDescription
Gets DragContext of the event.  
Remarks
Must be used in order to specify whether a ListBox can drop its elements on an IDropTarget.
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