need aero theme in ElementHost

N

not_a_commie

I'm currently using the ElementHost (from Integration) to show some
WPF controls on my .NET 2.0 form. It works fine, but they don't match
the other .NET 2.0 controls (3rd party) on my form that are built to
Aero look and feel. How can I load the Aero.normalcolor.xaml theme
that comes with the WPF SDK and make it apply to my few elements in
ElementHost? I currently don't use any XAML. I instantiate everything
in C#. Thanks for your time.
 
W

Willy Denoyette [MVP]

not_a_commie said:
I'm currently using the ElementHost (from Integration) to show some
WPF controls on my .NET 2.0 form. It works fine, but they don't match
the other .NET 2.0 controls (3rd party) on my form that are built to
Aero look and feel. How can I load the Aero.normalcolor.xaml theme
that comes with the WPF SDK and make it apply to my few elements in
ElementHost? I currently don't use any XAML. I instantiate everything
in C#. Thanks for your time.


Please post XAML,WPF, WCF and WF related questions to the msdn forums, these forums are
monitored by MS developers and WPF experienced folks, so you might get better answers there.

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