Registers (or unregisters) an element as a drop target.

Namespace:  C1.WPF
Assembly:  C1.WPF (in C1.WPF.dll)

Syntax

C#
public void RegisterDropTarget(
	UIElement target,
	bool register
)
Visual Basic
Public Sub RegisterDropTarget ( _
	target As UIElement, _
	register As Boolean _
)

Parameters

target
Type: System.Windows..::..UIElement
UIElement that will act as a drop target.
register
Type: System..::..Boolean
True to register the element, false to unregister.

Remarks

The target element should not be transparent, or it will not receive any mouse events and thus won't be able to act as a drop target.

See Also