开发者

WPF form displaying as winform

开发者 https://www.devze.com 2023-02-18 10:36 出处:网络
Sorry this is probably a really silly question but I am developing a WPF form on a Windows 7 machine with VS2010 yet when running the application the form still looks 开发者_开发问答like a standard Wi

Sorry this is probably a really silly question but I am developing a WPF form on a Windows 7 machine with VS2010 yet when running the application the form still looks 开发者_开发问答like a standard WinForms window.

I am assuming that it requires an extra component installed on the system to be displayed as shown in the designer?

PS: To be more specific what I am referring to is basically the outline and border.

WPF form displaying as winform

WPF form displaying as winform


No, what you are experiencing is totally normal. Unless you have altered the default style of your controls, your application will be drawn using windows default look and feel.


That border is just for design purposes. But you could add your own Border to recreate it during runtime.

0

精彩评论

暂无评论...
验证码 换一张
取 消