[英]Edit a scroll viewer in the design view of visual studio 2010
I have an input form that I want to edit in visual studios design view. 我有一个要在Visual Studio设计视图中编辑的输入表单。 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?
是否可以编辑整个滚动查看器?
You can either put the form into a UserControl
and edit it there without scrollbars or you can increase the size of the Window
at design time but leave it at its normal size at run-time. 您可以将窗体放入
UserControl
并在不使用滚动条的情况下在其中进行编辑,也可以在设计时增加Window
的大小,但在运行时将其保留为正常大小。 You can achieve the latter effect by adding this to your XAML file: 您可以通过将其添加到XAML文件中来实现后一种效果:
<Window ...
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
...
d:DesignHeight="1000" d:DesignWidth="1000">
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.