WPF 去掉窗体边框
WPF 去掉窗体边框
【转载】http://blog.sina.com.cn/s/blog_8600e72b0101exxn.html
设置WindowStyle="None"、 AllowsTransparency="True" 即可。如下:
- Windowx:Class="WpfApplication1.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Title="MainWindow"Height="350"Width="525"
- WindowStyle="None"
- AllowsTransparency="True">
- <Grid>
- </Grid>
- </Window>
浙公网安备 33010602011771号