Version

DragDropManager Class Members

The following tables list the members exposed by DragDropManager.

Public Constructors
 NameDescription
Public ConstructorDragDropManager Constructor  
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)DragSourcePropertyIdentifies the DragSourceProperty attached property.  
Public Fieldstatic (Shared in Visual Basic)DropTargetPropertyIdentifies the DropTargetProperty attached property.  
Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)CurrentCopyCursorTemplateGets data template that will be used for copy cursor when copy operation is performed.  
Public Propertystatic (Shared in Visual Basic)CurrentCursorTemplateGets data template that is currently in usage as a mouse cursor.  
Public Propertystatic (Shared in Visual Basic)CurrentDragTemplateGets data template that will be applied to dragged item when drag-and-drop operation starts.  
Public Propertystatic (Shared in Visual Basic)CurrentDropNotAllowedCursorTemplateGets data template that will be used for drop operation not allowed cursor if during drag-and-drop operation there is not found appropriate drop target.  
Public Propertystatic (Shared in Visual Basic)CurrentMoveCursorTemplateGets data template that will be used for move cursor during drag-and-drop operation.  
Public Propertystatic (Shared in Visual Basic)DragPopupGets the UI element used to display dragged item on the screen.  
Public Propertystatic (Shared in Visual Basic)HighlightTargetsOnDragStartGets or sets a value indicating whether drop target elements should be highlighted when drag source element with appropriate DragSource.DragChannels is dragged.  
Public Propertystatic (Shared in Visual Basic)InstanceGets the single instance of DragDropManager class  
Public Propertystatic (Shared in Visual Basic)IsDraggingGets a value indicating whether drag-and-drop operation is currently in progress.  
Protected Properties
 NameDescription
Protected Propertystatic (Shared in Visual Basic)CursorPopupGets most top UI element where cursor data templates are applied.  
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)EndDragEnds drag operation if there is drag operation in progress.  
Public Methodstatic (Shared in Visual Basic)GetDragSourceGets the value of the DragSourceProperty attached property from a given System.Windows.DependencyObject.  
Public Methodstatic (Shared in Visual Basic)GetDropTargetGets the value of the DropTargetProperty attached property from a given System.Windows.DependencyObject.  
Public Methodstatic (Shared in Visual Basic)GetDropTargetsGets the drop targets with the specified channels match.  
Public Methodstatic (Shared in Visual Basic)RefreshDragLayoutEnsure that dragged item is on the top of layout. User can use this method to set dragged item as top most popup if there are other popups that are created after drag is already initiated.  
Public Methodstatic (Shared in Visual Basic)SetDragSourceSets value for DragSourceProperty attached property to a given System.Windows.DependencyObject.  
Public Methodstatic (Shared in Visual Basic)SetDropTargetSets value for DropTargetProperty attached property to a given System.Windows.DependencyObject.  
Protected Methods
See Also