Partager via


IDropHandler.HandleDragStarted, méthode

Indique le démarrage d'une opération de glisser-déplacer.

Espace de noms :  Microsoft.VisualStudio.Text.Editor.DragDrop
Assembly :  Microsoft.VisualStudio.Text.UI.Wpf (dans Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntaxe

'Déclaration
Function HandleDragStarted ( _
    dragDropInfo As DragDropInfo _
) As DragDropPointerEffects
DragDropPointerEffects HandleDragStarted(
    DragDropInfo dragDropInfo
)
DragDropPointerEffects HandleDragStarted(
    DragDropInfo^ dragDropInfo
)
abstract HandleDragStarted : 
        dragDropInfo:DragDropInfo -> DragDropPointerEffects
function HandleDragStarted(
    dragDropInfo : DragDropInfo
) : DragDropPointerEffects

Paramètres

Valeur de retour

Type : Microsoft.VisualStudio.Text.Editor.DragDrop.DragDropPointerEffects
Objet DragDropPointerEffects correspondant à l'opération en cours.Peut être utilisé, par exemple, pour indiquer une opération de copie lorsque vous appuyez sur la touche CTRL.

Notes

Cette méthode est appelée lorsqu'une opération de déplacement est en cours et IDropHandler est le gestionnaire pour le format de données de l'opération de déplacement. Elle n'est pas appelée pour supprimer les formats de données qui ne sont pas pris en charge par cet IDropHandler. Un appel à l'HandleDragStarted est toujours suivi par un appel à HandleDragCanceled ou à l'HandleDataDropped.

Sécurité .NET Framework

Voir aussi

Référence

IDropHandler Interface

Microsoft.VisualStudio.Text.Editor.DragDrop, espace de noms