我想在VSPackage UserControl中创建一个滚动条. [英] I wanna make a scrollbar in VSPackage UserControl.

查看:78
本文介绍了我想在VSPackage UserControl中创建一个滚动条.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

那不是Window.Forms.Usercontrol

那是Window.Controls.UserControl.

 

That is not Window.Forms.Usercontrol

That's Window.Controls.UserControl.

 

 

 

 

 

 

 

推荐答案

山姆,

 

感谢您的信息.

我认为您可以在mainUsercontrol中添加一个滚动查看器,并将所有子控件都放入滚动查看器中,

I think you can add a scroll viewer in main Usercontrol, and put all children controls into the scroll viewer,

< UserControl>

<UserControl>

 < ScrollViewer>

 <ScrollViewer>

   < Control1/>

   <Control1 />

   < Control2/>

   <Control2 />

 </ScrollViewer>

 </ScrollViewer>

</UserControl>

</UserControl>

但是通常,我们不会在主用户控件中添加滚动查看器,您的目的是什么?

But normally, we don't add a scrollviewer in the main user control, what is yoru purpose?


这篇关于我想在VSPackage UserControl中创建一个滚动条.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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