Open grubioe opened 5 years ago
There is new user feedback about this issue:
So it would be nice to get this real fix into WPF rather than have the Visual Studio WPF designer work around it.
@grubioe The code works at runtime, so it sounds more like the designer is not up to spec.
For the record, the errors are:
The Pages
property indeed does not have a setter, but it comes with
How come this is not respected? docs (unless the error is misleading)
Thanks, I created a task to look at fixing this in the WPF designer.
Copied from VSO: 776611
This comes from user feedback: https://developercommunity.visualstudio.com/content/problem/418015/fixeddocument-pagecontent-bug.html
REPRO: In a WPF project in Visual Studio, construct a file like in the following screenshot:
RESULT: The content of FixedDocument is always shown as an error.
EXPECT: No error squiggles or error messages