dotnet/maui

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

Open

#4,795 opened on 2022年2月19日

GitHub で見る
 (2 comments) (22 reactions) (0 assignees)C# (1,951 forks)batch import
area-essentialsgood first issuelegacy-area-desktopproposal/opent/desktopt/enhancement ☀️

Repository metrics

Stars
 (23,245 stars)
PR merge metrics
 (平均マージ 47d 9h) (30d で 248 merged PRs)

説明

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.

コントリビューターガイド