❔ Custom File Drag & Drop on MAUI Windows app
Hello,
I am currently migrating a WPF project to MAUI. Given the fact that MAUI is a cross platform application, the Drag & Drop feature on Windows is not really working. What I want to achieve is to be able to drag files from the Desktop, but only custom extension files to be dropped (e.g. example.xyz). When dropped, in the code behind I want to be able to get the file absolute path.
Anyone knowing how can I achieve this?
Thanks!
5 Replies
Are you only targeting desktop platforms?
If so then Avalonia is your best option.
as MAUI does not support Linux
I only target Deskop platforms. I know Linux is not supported yet, but hopefully it will be supported soon.
I highly doubt it will come to Linux anytime soon.
in the meantime, Avalonia is there and supports all desktop platforms.
Thanks, I will check Avalonia out.
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.