Registers a System.Windows.UIElement to act as a drag source.
Syntax
'Declaration
Public Sub RegisterDragSource( _
ByVal As System.Windows.UIElement, _
ByVal As DragDropEffect, _
ByVal As System.Windows.Input.ModifierKeys, _
Optional ByVal handledEventsToo As System.Boolean _
)
'Usage
Dim instance As C1DragDropManager
Dim source As System.Windows.UIElement
Dim effect As DragDropEffect
Dim keys As System.Windows.Input.ModifierKeys
Dim handledEventsToo As System.Boolean
instance.RegisterDragSource(source, effect, keys, handledEventsToo)
public void RegisterDragSource(
System.Windows.UIElement ,
DragDropEffect ,
System.Windows.Input.ModifierKeys ,
System.bool handledEventsToo
)
Parameters
- source
- System.Windows.UIElement that will act as a drag source.
- effect
- DragDropEffect that will be supported by the object.
- keys
- System.Windows.Input.ModifierKeys that should be pressed in order for the drag operation to start.
- handledEventsToo
See Also