[]
Registers (or unregisters) an element as a drop target.
public void RegisterDropTarget(UIElement target, bool register)
Type | Name | Description |
---|---|---|
UIElement | target | UIElement that will act as a drop target. |
bool | register | True to register the element, false to unregister. |
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.