C
C#2y ago
Khifeli

❔ 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
Buddy
Buddy2y ago
Are you only targeting desktop platforms? If so then Avalonia is your best option. as MAUI does not support Linux
Khifeli
KhifeliOP2y ago
I only target Deskop platforms. I know Linux is not supported yet, but hopefully it will be supported soon.
Buddy
Buddy2y ago
I highly doubt it will come to Linux anytime soon. in the meantime, Avalonia is there and supports all desktop platforms.
Khifeli
KhifeliOP2y ago
Thanks, I will check Avalonia out.
Accord
Accord2y ago
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.
Want results from more Discord servers?
Add your server