Comments (2)
@thevortexcloud typical use case would be to provide user a choice of different file types to save (.png, .jpg...), where app will get this index and actually save in a correct format after the picker. In case if app developer doesn't want to rely on extension.
But that's for Save file dialog. Not Open.
And I am not sure if we can implement this feature properly on most of platforms. Needs to be double checked.
Other than that, another (possibly better?) alternative would be to add MimeType property to the IStorageFile. Which is useful for both open/save scenarios. Also, should implementable pretty much everywhere, even on browser.
from avalonia.
What is the use case for this? The whole point of the file picker is to pick a file. You as a consumer of the file picker don't generally care what the file is as long as it matches your filters. If you want to do nothing when someone picks a specific option then you should just not offer the option?
from avalonia.
Related Issues (20)
- Can't edit cells of datagrid with DataGridCollectionView in ItemsSource HOT 3
- Bindings uses only "dynamic" properties when DataGrid item inherited from IReflectableType HOT 2
- Cant edit DataGrid cell, bound to "dynamic" item property, implementer by IReflectableType
- when set `{x:Null}` to any control's `FontFamily` property, application will crashed HOT 4
- BackgroundSizing Inner/Outer do not work like Center when CornerRadius is very large (i.e. 999) HOT 6
- DataContext value in DevTools displayed as null if type of value inherited from System.ComponentModel.Component HOT 3
- InlineUIContainer breaks SelectableTextBlock selection
- DBus folder dialog doesn't work with RHEL 8.5 HOT 2
- SaveFilePickerAsync duplicates FilePickerFileType extension when there is more than one period in the extension. HOT 2
- When mounted, TabStrip changes SelectedItem to the first one and then reverts it back HOT 1
- iOS apps don't build HOT 1
- CPU usage is really high again... HOT 5
- DataGrid Adaptive exception HOT 6
- AutoCompleteBox not biding SelectedItem when using AsyncPopulator HOT 1
- Screen API refactoring HOT 7
- Android - Crash on bluetooth keyboard device connection and disconnection HOT 6
- [Linux] WindowStartupLocation does not respect DesktopScaling factor HOT 2
- [11.1-beta2] Regression: Window System buttons is not visible when `ExtendClientAreaToDecorationsHint="True"` HOT 2
- AccessViolationException when using RenderDoc on Windows HOT 1
- Copying of file not working as expected HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avalonia.