Why do WPF Applications look different between Windows 7 and Windows 8 and can this be fixed?

前端 未结 4 463
無奈伤痛
無奈伤痛 2021-01-31 10:13

I\'m really surprised that this question does not appear to have been asked yet... if it has, but I just couldn\'t find it, apologies.

Ok, so my work computer has just b

4条回答
  •  情话喂你
    2021-01-31 11:05

    If you use WPF without custom (explicit) style it is going to use standard windows 7 aero style. In case of windows 8 it is different (aero2).

    If you would like to make sure, your application appears same on windows7 and on windows8 as well I recommend to create custom style where you define margin, paddings, fonts, etc by yourself.

提交回复
热议问题