Why do I get the “Page property” has no setter available ”for a simple <FixedDocument> in Expression Blend 4?

I have a XAML file that I found to find the cause of this problem in the following minimal case:

<FixedDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" > <PageContent> </PageContent> </FixedDocument> 

It opens perfectly in KAXAML, but when I open the same file in Expression Blend 4, I get the following 2 errors in the <PageContent> :

  • The 'Pages' property has no setter available.
  • The specified value cannot be assigned. The following was expected: "PageContentCollection".

No CodeBehind. The only interesting thing is that this file exists in the Winforms project, and I applied the following hack: http://social.expression.microsoft.com/Forums/en-US/blend/thread/c726522f-c721-42a7-8bf1-c73360edaa60 - but The problem also occurs with the file in the direct WPF project.

Does anyone know why, and fix it?

+4
source share
1 answer

This error is as old as time, and it does not seem that it will be fixed in the near future:

It is confirmed that there is both VS2010 and Expression Blend 4.

+6
source

All Articles