1: | <DocumentViewer Name="docView1" MouseLeftButtonUp="docView1_MouseLeftButtonUp"> |
Mark Wilson-Thomas hat folgendes geschrieben: | ||
Hi @VS Hector VS and @TimStspry
You are quite correct - this problem does persist in the release candidate for Visual Studio 2010. Neither the Designer nor XAML Editor will load FixedDocuments; instead it will display the following error: Error Message: Property 'Pages' does not support values of type 'PageContent'. XML-Daten
The workaround for this is to create the FixedDocument in code. It is possible to create XAML fragments in separate files, load them in code and inject them into the pages directly rather than edit them inline in the designer. Because this workaround is straightforward and we believe the workaround to be the more common workflow in any case, we do not intend to include support for direct content in these scenarios in the designer in future versions. If you wish to discuss this or any other Visual Studio WPF and Silverlight Designer issue further, please don't hesitate to contact me directly by email at mwthomas at microsoft dot com. Regards Mark Wilson-Thomas Program Manager, WPF & Silverlight Designer, Visual Studio |
Entwickler-Ecke.de based on phpBB
Copyright 2002 - 2011 by Tino Teuber, Copyright 2011 - 2025 by Christian Stelzmann Alle Rechte vorbehalten.
Alle Beiträge stammen von dritten Personen und dürfen geltendes Recht nicht verletzen.
Entwickler-Ecke und die zugehörigen Webseiten distanzieren sich ausdrücklich von Fremdinhalten jeglicher Art!