dotnet/maui

Implement "desktop dialogs" e.g.: FileOpenDialog, FolderBrowserDialog, PrintDialog, etc.

Open

#4 795 ouverte le 19 févr. 2022

Voir sur GitHub
 (2 commentaires) (22 réactions) (0 assignés)C# (1 951 forks)batch import
area-essentialsgood first issuelegacy-area-desktopproposal/opent/desktopt/enhancement ☀️

Métriques du dépôt

Stars
 (23 245 stars)
Métriques de merge PR
 (Merge moyen 47j 9h) (248 PRs mergées en 30 j)

Description

Description

MAUI is the evolution of Xamarin, which was originally intended for mobile devices. However, MAUI expands the targets to include desktop applications. Desktop applications have a few features that are not at all, or less relevant in the mobile space. As a result, I can see there being a gap in the capabilities that are available.

In desktop applications we are used to having a few built-in dialogs that we can use to get desktop-like things done, which are not going to be available in MAUI. It would be great if we could have a few of these early in the life of MAUI to help us deliver apps without multiple people having to reinvent this wheel.

Dialogs that we are used to reaching for when building desktop apps include:

File Open (there is the FilePicker that might cover this scenario) File Save As (not something that really exists in the mobile space; mobile OSes don't really support direct file system access) Select Folder (again, not done in the mobile space very often) Print, and perhaps Print Preview

If these could be added to a backlog, that would be much appreciated.

Public API Changes

UI controls/components:

FileOpenDialog (unless FilePicker sufficiently meets this need) SaveFileDialog FolderBrowserDialog PrintDialog PrintPreviewDialog

Intended Use-Case

My primary use case is applications built in MAUI that are intended to interact with the file system, such as importing, exporting and linking to external files from an application.

The secondary use case is applications that print out information, such as logs, notes, pictures or other created content.

Guide contributeur