|
Inheriting from custom made page in xaml How can I inherit from my custom made page?
Example:
I have a page baseclass in my 1st assembly:
<Page x:Class="Common.WinFX.Pages.DetailPage"
xmlns="http://schemas.microsoft.com/winfx/avalon/2005"
xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005"
Title="DetailPage"
>
<Grid>
<Label>Test</Label>
</Grid>
</Page>
How can I inherit a new page (in another assembly)?
If I do this:
<DetailPage x:Class="Contact.WinFX.ContactPersonDetail"
xmlns="http://schemas.microsoft.com/winfx/avalon/2005"
xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005"
Title="ContactPersonDetail"
>
<Grid>
</Grid>
</DetailPage>
I get an error stating that the DetailPage is an unknown tag.
I'm "using" the 1st assembly. Do I need to make some xml tag?
--
Thomas S. Andersen |