Why is FileDialog.Filter property nullable and has a setter? #8507
MihaMarkic
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I don't see any reason to has nullable attribute AND a default value. But in the new API filter is nullable and has not a default value - https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Base/Platform/Storage/FilePickerOpenOptions.cs#L18 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
IMO FileDialog.Filters property should be non-nullable and it should have a (public) setter. It even assigns a default list by default.
Beta Was this translation helpful? Give feedback.
All reactions