ThreeDBorderWindow 和 SingleBorderWindow 的区别
在 WPF XAML 中,WindowStyle
可以是 None、SingleBorderWindow、ThreeDBorderWindow、ToolWindow。
我自己尝试了这些选项,还研究了 MSDN,但我无法从视觉上分辨出 ThreeDBorderWindow 和 SingleBorderWindow 之间的任何区别。 “ThreeDBorder”看起来和 SingelBorder 一样是二维的。他们有什么区别?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须切换到Windows Classic主题才能看到差异。如果您使用的是“现代”主题,例如Windows 7,则没有区别。
在我的计算机上使用 Windows Classic 主题时,下面左侧为
SingleBorderWindow
,右侧为ThreeDBorderWindow
。 (最里面的灰色边框来自窗口中的控件,不是窗口边框的一部分。)“3D”边框有一个内部突出显示,我猜它具有凸起或三维的外观。
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 andThreeDBorderWindow
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.)The "3D" border has an inside highlight that I guess gives it a raised or three dimensional look.