控件如何在最大化对话时自动调整大小? [英] how controls automatically resize on maximizing the dialogue?

查看:59
本文介绍了控件如何在最大化对话时自动调整大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望我的控件在最大化/最小化对话框时更改其大小.

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...


您可以使用控件的DockAnchor属性来做到这一点.
You can use the Dock and Anchor properties of the controls to do that.


这篇关于控件如何在最大化对话时自动调整大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆