I’ve added several changes to the FileExplorer control, that will be included in the Coding4Fun Toolkit.
Before actually becoming an active part of the control set, I want to make sure that it works as it should and where it should, and for that I am distributing it now as a part of an experimental package.
Since the last update, there is a big change that was introduced – the ability to switch the selection type. Now it is possible to:
- Select a single file
- Select multiple files
- Select a single folder
- Select multiple folders
This option is given through the SelectionMode property.
When the control is dismissed, the OnDismiss event handler is called, the application will get two items in return – a StorageTarget reference, that will identify the location of the selected entity(ies), as well as an object than can either be a single StorageFile, StorageFolder,
ExternalStorageFolder, or it could be a
T is one of the aforementioned storage objects. Explicit conversion will be required, depending on the scenario.