【发布时间】:2021-04-26 09:35:14
【问题描述】:
这是通过 WPF 模板创建项目时的默认窗口:
<Window x:Class="Chaco.MainWindow"
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:Chaco"
mc:Ignorable="d"
BorderThickness="0"
BorderBrush="Transparent"
Title="MainWindow" Height="450" Width="800">
<Grid>
<Button x:Name="ButtonMain" Content="Main" Width="100" Height="50" Background="White">
</Button>
</Grid>
</Window>
如何去除?
【问题讨论】: