如何手动调整splitcontainer.panel的大小? [英] How do I resize a splitcontainer.panel manually?

查看:994
本文介绍了如何手动调整splitcontainer.panel的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我一直在尝试,但我无法找到手动调整SplitContainer.Panel大小的方法。



请帮忙。



问候

Aman Chaurasia



我尝试了什么:



我必须插入另一个面板才能调整。但是我不希望这样。

Hello,

I have been trying but I am unable to find out a way to manually resize a SplitContainer.Panel.

Please help.

Regards
Aman Chaurasia

What I have tried:

I have had to insert another panel in order to resize. But I don't want that.

推荐答案

SplitContainer的整个想法是由三部分组成:两个面板和一个中间的分割器。您无法调整这些面板的大小,因为它们被定义为填充未被分割条本身占据的区域的正确大小。要调整它们的大小,稍后您将分割条的位置或整个SplitContainer本身的高度/宽度。
The whole idea of a SplitContainer is that is made of of three parts: two panels and a splitter down the middle. You can't resize those panels as they are defined as being the "right size" to fill the areas not occupied by the splitter bar itself. To resize them, you later the position of the splitter bar, or the height / width of the whole SplitContainer itself.


这篇关于如何手动调整splitcontainer.panel的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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