在 Visual Studio 2010 的设计视图中编辑滚动查看器
我有一个输入表单,我想在视觉工作室设计视图中编辑它。该表单放置在滚动查看器中,但由于表单太长,我可以弄清楚如何实际滚动滚动查看器,以便我可以在表单中进一步向下编辑,因为设计窗口仅显示适合窗口大小的内容。是否可以编辑整个滚动查看器?
I have an input form that I want to edit in visual studios design view. The form is placed within a scroll viewer but since the form is so long I can figure out how to actually scroll the scroll viewer so I can edit further down in the form since the design window is only showing what fits in the window size. Is it possible to edit the entirety of the scroll viewer?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以将表单放入
UserControl
中并在没有滚动条的情况下对其进行编辑,也可以在设计时增加Window
的大小,但在运行时将其保留为正常大小-时间。您可以通过将其添加到 XAML 文件来实现后一种效果:You can either put the form into a
UserControl
and edit it there without scrollbars or you can increase the size of theWindow
at design time but leave it at its normal size at run-time. You can achieve the latter effect by adding this to your XAML file: