KEMBAR78
OpenFileDialog.ShowReadOnly does not work · Issue #6346 · dotnet/wpf · GitHub
Skip to content

OpenFileDialog.ShowReadOnly does not work #6346

@miloush

Description

@miloush
  • .NET Core Version: 7.0.0-preview.2.22152.2
  • Windows version: 22581.1.amd64fre.ni_release.220318-1623
  • Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes

Problem description:

The OpenFileDialog ignores the ShowReadOnly 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:

OpenFileDialog ofd = new OpenFileDialog();
ofd.ShowReadOnly = true;
ofd.ShowDialog();

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions