[C#]如何在设计时使用滚动条 [英] [C#] How to use scrollbar at design time

查看:213
本文介绍了[C#]如何在设计时使用滚动条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为问题。我有TableLayoutPanel并将AutoScroll属性设置为True。在设计师,添加一些控件后,滚动条显示,但我不能使用此滚动条。任何人都可以告诉我,如何使用滚动条并向下拖动以结束控制。



谢谢。

解决方案

< blockquote> 你不能。查看表格其余部分的唯一方法是调整TLP所在的容器大小以显示您需要查看的内容。



如果是AutoScroll在任何支持它的控件上设置为True,在设计器中滚动。



TableLayoutPanel实际上不是一个控件。它是一个扩展,为现有控件添加了一层布局功能。 TableLayoutPanel根本不支持滚动。


As question. I have TableLayoutPanel and set AutoScroll property True. At designer, after add some controls, scrollbar show, but i can not use this scrollbar. Can anyone tell me, how to use scrollbar and drag down to end control.

Thank you.

解决方案

You can't. The only way to see the rest of the table is to resize the container your TLP is in to show the content you need to see.

If AutoScroll is set to True on any of the controls that support it, scrolling in the designer works.

The TableLayoutPanel is not really a control. It's an extension that adds a layer of layout functionality to existing controls. The TableLayoutPanel doesn't support scrolling at all.


这篇关于[C#]如何在设计时使用滚动条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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