This project is read-only.
1
Vote

Page in stand-alone file yields black rectangle

description

I would like to separate my wizard pages into stand-alone XAML files (e.g. FirstPage.xaml, SecondPage.xaml, OtherPage.xaml). However, when I add a wizard page created like this, the page does not show up. At runtime, I get a black rectangle where the page content should be. At design-time the page content is simply invisible.

I am attaching a solution that reproduces the issue.

file attachments

comments

mannycal69 wrote Jul 18, 2013 at 5:04 PM

If you want to use separate files you just need to insert the content of the page as Template of the page, not as Content as usual:
<aw:WizardPage.Template>
        <ControlTemplate>
            ---your content
In this way everything will work