views:

6

answers:

0

I have a WPF usercontrol that is hosting the Webbrowser. The usercontrol is placed on a WPF Window. When I run the application (IDE or compiled), and display the following HTML inside the webbrowser:

<INPUT TYPE=Button>Button</INPUT>

The button has the 'ugly' Windows 2000 look. Even though I run with Win7 Aero, and the rest of my application has the Aero WPF theme. And when I launch Internet Explorer, and navigate to the same HTML, the button looks nice (rounded edges, blueish, etc.)

So how can I make sure the button is themed in my app too?