您的位置:首页 > 其它

WPF去除窗体边框及白色边框

2018-07-27 16:52 1161 查看

 

 

<Window x:Class="WpfAppFirst.Evaluation"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WpfAppFirst"
mc:Ignorable="d"
Title="Evaluation" Height="566" Width="980" WindowStyle="None" Icon="EImg/LOGO.png" WindowChrome.WindowChrome="{DynamicResource WindowChromeKey}">
  <!--WindowStyle="None":去除窗体边框-->
<Window.Resources>
<WindowChrome x:Key="WindowChromeKey">
<WindowChrome.ResizeBorderThickness>
<Thickness>0</Thickness>
</WindowChrome.ResizeBorderThickness>
</WindowChrome>
</Window.Resources>

 

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: