[]
        
(Showing Draft Content)

C1.WPF.Core.C1DragDropManager.RegisterDropTarget

RegisterDropTarget Method

RegisterDropTarget(UIElement, bool)

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

Declaration
public void RegisterDropTarget(UIElement target, bool register)
Parameters
Type Name Description
UIElement target

UIElement that will act as a drop target.

bool register

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.