Vnshng
Results
1
comments of
Vnshng
一个临时解决方案可以参考. 在窗口最大化时指定 NonClientFrameEdges 为 Bottom, 窗口的大小就正常且对布局没有影响. 切换成其他状态时就重新设置为 None. 但该属性只在 NET45 及以上版本才有, NET40 需要考虑其他解决方法, 只在 Windows 10 和 Windows 7 上试过. ```csharp #region fields // ... private readonly WindowChrome _chrome; #endregion...