如何从WPF表单中删除边框/控件框?

时间:2022-08-26 21:35:18

In Windows Form, I would modify the FormBorderStyle property in the Properties pane.

在Windows窗体中,我将修改“属性”窗格中的FormBorderStyle属性。

Any help?

2 个解决方案

#1


8  

Set WindowStyle to None, and ResizeMode to NoResize (either in XAML or through the Properties pane).

将WindowStyle设置为None,将ResizeMode设置为NoResize(在XAML中或通过“属性”窗格)。

#2


5  

Creating a splash screen is actually supported by the .NET framework, check out this form post on social.msdn.microsoft.com which points you to this walkthrough for the most performant .NET splash screen.

.NET框架实际上支持创建启动画面,请在social.msdn.microsoft.com上查看此表单文章,该文章指出了最易于使用的.NET启动画面的演练。

You can designate an image as a splashscreen using the properties window: alt text http://img189.imageshack.us/img189/8984/splashscreenn.jpg

您可以使用属性窗口将图像指定为闪屏:alt text http://img189.imageshack.us/img189/8984/splashscreenn.jpg

#1


8  

Set WindowStyle to None, and ResizeMode to NoResize (either in XAML or through the Properties pane).

将WindowStyle设置为None,将ResizeMode设置为NoResize(在XAML中或通过“属性”窗格)。

#2


5  

Creating a splash screen is actually supported by the .NET framework, check out this form post on social.msdn.microsoft.com which points you to this walkthrough for the most performant .NET splash screen.

.NET框架实际上支持创建启动画面,请在social.msdn.microsoft.com上查看此表单文章,该文章指出了最易于使用的.NET启动画面的演练。

You can designate an image as a splashscreen using the properties window: alt text http://img189.imageshack.us/img189/8984/splashscreenn.jpg

您可以使用属性窗口将图像指定为闪屏:alt text http://img189.imageshack.us/img189/8984/splashscreenn.jpg