IDesktopFileDropWindowHost interface

Namespace Runic.Desktop in Runic.Desktop 0.23.0

public interface IDesktopFileDropWindowHost : IDesktopWindowHost, IAsyncDisposable

Inherits or implements IDesktopWindowHost, IAsyncDisposable.

An optional native host that reports files the user dropped onto its window.

Remarks

Report DesktopWindowCapabilities.FileDrop in IDesktopWindowHost.Capabilities. Take the paths from the platform's drag and drop, never from the page, and keep the page's own drop events working. Runic Desktop passes each drop to DesktopWindow.FilesDropped.

Events

FilesDropped

event EventHandler<DesktopFileDropEventArgs>? FilesDropped

Occurs once for each drop of files onto the window, on any thread.