Dropped file/folder is readonly

杨岑 121 Reputation points
2024-04-10T10:44:14.04+00:00

I want to enable user drag & drop folders onto a listbox based on this example (https://www.c-sharpcorner.com/UploadFile/6d1860/implementing-file-drag-drop-in-your-windows-10-uwp-applica/).

But it seems the dropped folder has Attributes set to ReadOnly. That's not what I expected because I need to delete files inside dropped folders.

Is there anyway to configure drag & drop so that it produces writable folders?

Universal Windows Platform (UWP)
{count} votes