-
Notifications
You must be signed in to change notification settings - Fork 409
Official API Review for new functionalities of Storage.Pickers: SettingsIdentifier; FileTypeIndex; Title; PickMultipleFoldersAsync; ShowOverwritePrompt #6051
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…ickMultipleFoldersAsync
e8f4450 to
7af6a89
Compare
|
@DinahK-2SO |
kmahone
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕐
…ndex_title' of github.com:microsoft/WindowsAppSDK into user/DinahK-2SO/spec_settingsidentifier_filetypefilterindex_title
|
hey Friend @copilot , would you take a look at the latest iteration? |
|
@DinahK-2SO I've opened a new pull request, #6139, to work on those changes. Once the pull request is ready, I'll request review from you. |
This pull request updates the Storage.Pickers API specifications to add new customization and usability features to the
FileOpenPicker,FileSavePicker, andFolderPickerclasses. The changes introduce properties for dialog title and persistent settings, allow specifying the default file type filter, and add support for picking multiple folders. These enhancements are reflected in both the API definitions and usage examples.Adds properties:
Title
Titleproperties toFileOpenPicker,FileSavePicker, andFolderPicker, enabling custom dialog titles and persistent picker state across sessions. ([1], [2], [3], [4], [5], [6])Related:
SettingsIdentifier
SettingsIdentifierproperties toFileOpenPicker,FileSavePicker, andFolderPicker, enabling custom dialog titles and persistent picker state across sessions. ([1], [2], [3], [4], [5], [6])Related:
FileTypeIndex
FileTypeIndexproperty toFileOpenPickerandFileSavePicker, allowing developers to set the default selected file type filter by index (1-based). This is documented and shown in usage examples. ([1], [2], [3], [4], [5], [6], [7], [8])Related:
Changes in FileSavePicker
Adds a new properties for
FileSavePicker:ShowOverwritePrompt:ShowOverwritePromptdefault totrueand control whether the picker warns about overwriting when user picked an existing file via FileSavePicker.Changing the default behavior - when the user picked a not-existing file via FileSavePicker, the picker will NOT create an empty file there - allowing developer to decide when to make this file.
Related:
Adds method:
FolderPicker.PickMultipleFoldersAsync
PickMultipleFoldersAsyncmethod toFolderPicker, enabling selection of multiple folders in a single operation. API definitions, documentation, and code samples have been updated to reflect this feature. ([1], [2], [3]`)Related: