4

I have a XAML file which I have pared down to find the cause of this issue to the following minimal case:

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

    <PageContent>

    </PageContent>
</FixedDocument>

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

  • The property 'Pages' does not have an accessible setter
  • The specified value cannot be assigned. The following type was expected: 'PageContentCollection'.

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

Does anyone know why, and have a fix for this?

whybird
  • 1,108
  • 8
  • 19

1 Answers1

7

This bug is as old as time and it doesn't appear it will be fixed any time soon:

Confirmed still to exist for both VS2010 and Expression Blend 4.

Community
  • 1
  • 1
Rick Sladkey
  • 33,988
  • 6
  • 71
  • 95