您好: 我今天下午一直在试验 WPF,我想知道有谁知道我如何手动启用调整大小?我的主窗口设置了以下属性,这些属性删除了关闭/最小/最大和调整大小;
<Window x: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" AllowsTransparency="True"
WindowStyle="None" Background="Maroon" ResizeMode="CanResize">
</Window>
我找到了如何添加我自己的关闭/最小/最大按钮,但还没有找到如何启用调整大小。
最佳答案
ResizeMode="CanResizeWithGrip"
关于c# - 寻找如何添加调整大小按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5998165/