Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1DragDropManager Class / RegisterDropTarget Method
System.Windows.UIElement that will act as a drop target.
True to register the element, false to unregister.

In This Topic
    RegisterDropTarget Method (C1DragDropManager)
    In This Topic
    Registers (or unregisters) an element as a drop target.
    Syntax
    'Declaration
     
    
    Public Sub RegisterDropTarget( _
       ByVal target As UIElement, _
       ByVal register As Boolean _
    ) 
    public void RegisterDropTarget( 
       UIElement target,
       bool register
    )

    Parameters

    target
    System.Windows.UIElement that will act as a drop target.
    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.
    See Also