在c#中的“设计"模式下将“滚动"用于窗体或面板 [英] Use Scroll for a Form or Panel in Design Mode in c#

查看:81
本文介绍了在c#中的“设计"模式下将“滚动"用于窗体或面板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 在设计模式下,我在窗体上(或窗体的面板上)放置了多个控件.
所有控件无法一目了然.他们中的一些人必须摆出一角.但是在设计模式下,我无法访问外部.如果可以在设计模式下使用滚动条,我的问题将得到解决.
无论如何,在设计模式下我可以使用窗体或面板的滚动吗?
我该怎么办?

非常感谢

Hi In design mode I put several controls on form (or on panel in a form).
All controls couldn’t be shown in a glance. Some of them must put a corner of form. But in design mode I couldn’t access to outside. My problem will be resolved If it is possible to use from scroll in design mode.
Is there anyway which I could use scroll of form or panel in design mode?
How can I do this?

Thanks very much

推荐答案

如果您将所有设计都放在面板中而不是

设置
IF you have all the design inside a panel than

set
autoscroll= true



或将您的特定设计放入div并设置以下属性.



or put your specific design in a div and set the following property.

overflow:scroll (for both side scrolls)

overflow-y:scroll (for vertical scrolls)

overflow-x:scroll (for vertical scrolls)


这篇关于在c#中的“设计"模式下将“滚动"用于窗体或面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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