控件如何在最大化对话时自动调整大小? [英] how controls automatically resize on maximizing the dialogue?
本文介绍了控件如何在最大化对话时自动调整大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望我的控件在最大化/最小化对话框时更改其大小.
i want my controls to change their size on maximizing/demaximizing the dialog. how can i do this?
推荐答案
具有Anchor
属性.选择所有方面,然后全部完成.
With Anchor
property. Select all the sides and that''s all...
您可以使用控件的Dock
和Anchor
属性来做到这一点.
You can use theDock
andAnchor
properties of the controls to do that.
这篇关于控件如何在最大化对话时自动调整大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文