Reputation: 283
.NET MAUI provides a FilePicker to show a native Dialog where you can pick a file from the device.
Is there a way to show a dialog for saving files? (where you can select a path and enter an filename, ...).
I didn't find anything in the .NET MAUI doc and read this StackOverflow question to implement a FolderPicker, but this is not exactly what I need.
Upvotes: 16
Views: 6270
Reputation: 24515
The .Net Maui community toolkit (https://github.com/CommunityToolkit/Maui)
now has FilePicker (for choosing files) and FileSaver (for choosing a location to be saved) dialogs/controls
FileSaver info here: https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/essentials/file-saver?tabs=windows
Upvotes: 5
Reputation: 34013
Right now there is no such thing, not that I know of anyway. We are considering adding something like that to the .NET MAUI Community Toolkit, you can find the discussion and even some implementation details here. Make sure to make your interest known there.
With the linked Stack Overflow question you should be well on your well to build something yourself as well, at least for Windows and macOS.
Upvotes: 7