表达式混合和最小高度
很多时候,表达式混合会在我没有要求的情况下将 minheight 添加到我的网格行中。有办法禁用这个吗?
Many times expression blend will add minheight to my grid rows without me asking it to. Is there a way to disable this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当您使用画板上的锁定图标更改为“自动”调整大小方法时,最小高度会添加到行(最小宽度会添加到列)。答案是要么不使用自动调整大小的行和列,要么随时修复它。
你是对的,这太烦人了。如果您没有意识到正在发生的情况,情况会更糟:然后网格就不会像宣传的那样工作,并且如果不深入研究 XAML,您就无法找出原因。有人建议团队在未来的版本中更改此行为。
Minheight gets added to rows (and Minwidth to Columns) when you use the Lock icon on the Artboard to change to the "Auto" sizing method. The answer is to either not use Auto sized rows and columns or to just fix it as you go.
You are right, this is totally annoying. It's even worse when you don't realize that's what's happening: then the Grid doesn't work as advertised and you can't figure out why without digging into the XAML. It's been suggested to the team that this behavior be changed for a future release.
不,这是自动生成的东西。
No this is something that is auto-generated.