XAML - WindowsFormsHost : Grid has invalid child

J

jide

Hi,

I tried to add a wmp to XAML via WindowsFormsHost and when compiling,
i got an error message telling that "Grid has an invalid child". I did
use the namespaces etc. The same error occurs with the exemple
included in the windows vista sdk (HostingWfInWpf) !!! Is it a kind of
a bug ? I know this can be achieved in C#, but i want it done in
xaml...

Thanks for any help !
 
W

Willy Denoyette [MVP]

jide said:
Hi,

I tried to add a wmp to XAML via WindowsFormsHost and when compiling,
i got an error message telling that "Grid has an invalid child". I did
use the namespaces etc. The same error occurs with the exemple
included in the windows vista sdk (HostingWfInWpf) !!! Is it a kind of
a bug ? I know this can be achieved in C#, but i want it done in
xaml...

Thanks for any help !


Please post XAML, WPF, WCF and WF questions to the msdn forums:

http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=153&SiteID=1

Willy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top