C# Class Microsoft.R.Editor.DragDrop.DropHandler

Handles file drop on the editor. Primarily from Solution Explorer
Inheritance: IDropHandler
Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode Description
DropHandler ( IWpfTextView wpfTextView, IEditorShell editorShell, IRInteractiveWorkflowProvider workflowProvider ) : System
HandleDataDropped ( DragDropInfo dragDropInfo ) : DragDropPointerEffects
HandleDragCanceled ( ) : void
HandleDragStarted ( DragDropInfo dragDropInfo ) : DragDropPointerEffects
HandleDraggingOver ( DragDropInfo dragDropInfo ) : DragDropPointerEffects
IsDropEnabled ( DragDropInfo dragDropInfo ) : bool

Private Methods

Méthode Description
GetRUserFolder ( ) : Task
HandleDrop ( DragDropInfo dragDropInfo, string userFolder ) : void

Method Details

DropHandler() public méthode

public DropHandler ( IWpfTextView wpfTextView, IEditorShell editorShell, IRInteractiveWorkflowProvider workflowProvider ) : System
wpfTextView IWpfTextView
editorShell IEditorShell
workflowProvider IRInteractiveWorkflowProvider
Résultat System

HandleDataDropped() public méthode

public HandleDataDropped ( DragDropInfo dragDropInfo ) : DragDropPointerEffects
dragDropInfo DragDropInfo
Résultat DragDropPointerEffects

HandleDragCanceled() public méthode

public HandleDragCanceled ( ) : void
Résultat void

HandleDragStarted() public méthode

public HandleDragStarted ( DragDropInfo dragDropInfo ) : DragDropPointerEffects
dragDropInfo DragDropInfo
Résultat DragDropPointerEffects

HandleDraggingOver() public méthode

public HandleDraggingOver ( DragDropInfo dragDropInfo ) : DragDropPointerEffects
dragDropInfo DragDropInfo
Résultat DragDropPointerEffects

IsDropEnabled() public méthode

public IsDropEnabled ( DragDropInfo dragDropInfo ) : bool
dragDropInfo DragDropInfo
Résultat bool