<Window x:Class="iconfontDemo.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:iconfontDemo" mc:Ignorable="d" Title="MainWindow" Height="450" Width="800" WindowStyle="None" AllowsTransparency="True" Background="Transparent" > <!--窗体缩放 一行代码--> <WindowChrome.WindowChrome> <WindowChrome ResizeBorderThickness="4"/> </WindowChrome.WindowChrome> <Border CornerRadius="20" Height="450" Width="800" Background="White"> </Border> </Window>
7,660
社区成员
18,840
社区内容
加载中
试试用AI创作助手写篇文章吧