[PTRun] Drag and drop files (#22409)

* [PTRun] Support drag&drop to other application for files in result list

* [PTRun] use file/folder thumbnail as drag image

* (fix spellcheck)

* [PTRun] use _mouseDownResultViewModel.Image to generate the drag image

* fix spelling + refactoring
This commit is contained in:
Daniel Richter
2022-12-09 14:01:44 +01:00
committed by GitHub
parent bb92b03156
commit 08d569ccf6
12 changed files with 184 additions and 16 deletions

View File

@@ -0,0 +1,14 @@
// Copyright (c) Microsoft Corporation
// The Microsoft Corporation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Wox.Plugin.Interfaces
{
/// <summary>
/// This interface is to indicate results that contain a file/folder that is available for drag & drop to other applications
/// </summary>
public interface IFileDropResult
{
public string Path { get; set; }
}
}