Open miloush opened 2 years ago
Sorry, what is the Vista code path
?
There are two code paths for the file dialogs, one uses GetOpenFileName API while the other one uses IFileDialog API (introduced in Windows Vista):
The legacy one is used on Windows XP only. The Vista one is used everywhere else:
.NET Core never supported Windows XP, unlike .NET Framework. However, you can still get the legacy behavior with .NET Core using compatibility settings:
Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes
Problem description:
The
OpenFileDialog
ignores theShowReadOnly
property on the Vista code path.Actual behavior:
No check box in the dialog.
Expected behavior:
A check box in the dialog as per documentation.
A dropdown option on the Open button would also be acceptable:
Minimal repro: