[.NET] WPF question

Soldato
Joined
12 Apr 2004
Posts
11,788
Location
Somewhere
This probably has a very simple answer, but how would I go about making a WPF window that actually looks normal (like Windows Forms applications do)? I can't seem to figure out how to get it to just go by the current visual style :(

Using VS2008 Beta 2 of course.
 
Are you on about in the Designer or when the application is running? If you are on about when in the Designer, you can't. That's how it is.

TrUz
 
Are you on about in the Designer or when the application is running? If you are on about when in the Designer, you can't. That's how it is.

TrUz
Well I'm not bothered about whether it looks flashy at design time; I just want it to look like any other Windows app when it's running :confused:

Basically I want it to look like this:

1190488006.png


...rather than this:

1190488039.png
 
You'll need to make a Windows Forms Application rather than a WPF Application.

It looks like that because it's WPF.
 
Seems I've misunderstood the purpose of WPF then.

Has it done away with the idea of a unified UI appearance? Is it not intended to supersede Windows Forms?
 
It must be the current theme you have selected that is doing that to your WPF application. Under Windows XP and Vista my WPF applications fine.

Your theme is the only reason I can think of why you WPF application has no theme on the controls.

Try setting the theme back to a default theme.

TrUz
 
Back
Top Bottom