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

Handles file drop on the editor. Primarily from Solution Explorer
Inheritance: IDropHandler
ファイルを表示 Open project: Microsoft/RTVS

Public Methods

Method 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

Method Description
GetRUserFolder ( ) : Task
HandleDrop ( DragDropInfo dragDropInfo, string userFolder ) : void

Method Details

DropHandler() public method

public DropHandler ( IWpfTextView wpfTextView, IEditorShell editorShell, IRInteractiveWorkflowProvider workflowProvider ) : System
wpfTextView IWpfTextView
editorShell IEditorShell
workflowProvider IRInteractiveWorkflowProvider
return System

HandleDataDropped() public method

public HandleDataDropped ( DragDropInfo dragDropInfo ) : DragDropPointerEffects
dragDropInfo DragDropInfo
return DragDropPointerEffects

HandleDragCanceled() public method

public HandleDragCanceled ( ) : void
return void

HandleDragStarted() public method

public HandleDragStarted ( DragDropInfo dragDropInfo ) : DragDropPointerEffects
dragDropInfo DragDropInfo
return DragDropPointerEffects

HandleDraggingOver() public method

public HandleDraggingOver ( DragDropInfo dragDropInfo ) : DragDropPointerEffects
dragDropInfo DragDropInfo
return DragDropPointerEffects

IsDropEnabled() public method

public IsDropEnabled ( DragDropInfo dragDropInfo ) : bool
dragDropInfo DragDropInfo
return bool