Xceed Toolkit Plus for WPF v4.6 Documentation
CanDropElement Method


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.DragDrop Namespace > IDropTarget Interface : CanDropElement Method
A DragContext containing information on the drag operation.
Determines whether the IDropTarget-derived control can receive dragged items.
Syntax
'Declaration
 
Function CanDropElement( _
   ByVal dragContext As DragDropContext _
) As Boolean
'Usage
 
Dim instance As IDropTarget
Dim dragContext As DragDropContext
Dim value As Boolean
 
value = instance.CanDropElement(dragContext)
bool CanDropElement( 
   DragDropContext dragContext
)

Parameters

dragContext
A DragContext containing information on the drag operation.

Return Value

true if the IDropTarget-derived control can receive dragged items; false otherwise.
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

Reference

IDropTarget Interface
IDropTarget Members