wpf中设置禁止改变窗体的大小,是哪个属性?
------解决方案--------------------
CanResize="false"
------解决方案--------------------
<Window x:Class="GetPosition.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:GetPosition" ResizeMode="NoResize"
Title="MainWindow" Height="350" Width="525">
ResizeMode="NoResize"