dotnet/maui

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

Open

#4,795 创建于 2022年2月19日

在 GitHub 查看
 (2 评论) (22 反应) (0 负责人)C# (1,951 fork)batch import
area-essentialsgood first issuelegacy-area-desktopproposal/opent/desktopt/enhancement ☀️

仓库指标

Star
 (23,245 star)
PR 合并指标
 (平均合并 47天 9小时) (30 天内合并 248 个 PR)

描述

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.

贡献者指南