[英]WPF: How can I have controls in a grid automatically resize when the grid is resized?
I'm very new to WPF: I need to have buttons on a grid resize as the form is resized. 我是WPF的新手:在调整表单大小时,我需要在网格上调整按钮的大小。 The spaces between the buttons also need to stay constant.
按钮之间的间距也需要保持恒定。 Is there some property that I can set?
我可以设置一些属性吗? I played around with width/height as auto, but that didn't work.
我将宽度/高度设置为自动,但没有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.