ComponentOne FinancialChart for WPF
RegisterDropTarget Method



C1.WPF Namespace > C1DragDropManager Class : RegisterDropTarget Method
System.Windows.UIElement that will act as a drop target.
True to register the element, false to unregister.
Registers (or unregisters) an element as a drop target.
Syntax
'Declaration
 
Public Sub RegisterDropTarget( _
   ByVal target As UIElement, _
   ByVal register As Boolean _
) 
'Usage
 
Dim instance As C1DragDropManager
Dim target As UIElement
Dim register As Boolean
 
instance.RegisterDropTarget(target, register)
public void RegisterDropTarget( 
   UIElement target,
   bool register
)
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

Reference

C1DragDropManager Class
C1DragDropManager Members