Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between ThreeDBorderWindow and SingleBorderWindow

In WPF XAML, WindowStyle can be None, SingleBorderWindow, ThreeDBorderWindow, ToolWindow.

I tried the options myself and also looked into MSDN, yet I cannot tell any difference visually between ThreeDBorderWindow and SingleBorderWindow. The "ThreeDBorder" looks just as 2-D as SingelBorder. What are their difference?

like image 882
KMC Avatar asked Sep 20 '11 08:09

KMC


1 Answers

You have to switch to Windows Classic theme to see the difference. If you are using a "modern" theme like Windows 7 there is no difference.

Below you have the SingleBorderWindow to the left and ThreeDBorderWindow to the right when using Windows Classic theme on my computer. (The innermost gray border is from a control in the window and is not part of the window border.)

SingleBorderWindowThreeDBorderWindow

The "3D" border has an inside highlight that I guess gives it a raised or three dimensional look.

like image 71
Martin Liversage Avatar answered Sep 28 '22 09:09

Martin Liversage