简体   繁体   English

在Visual Studio 2010的设计视图中编辑滚动查看器

[英]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.

相关问题 无法再从Visual Studio设计视图编辑控件 - Can no longer edit control from Visual Studio Design View 在Visual Studio 2012中的Metro风格应用程序的设计视图中滚动 - Scroll in design view for metro style app in Visual Studio 2012 在Visual Studio 2010中编辑时自动检出 - Check out automatically on edit in Visual Studio 2010 Visual Studio 2010设计时间集合编辑器 - Visual Studio 2010 design time collection editor Visual Studio 2010表单设计错误 - Visual studio 2010 Forms design error 在visual studio 2010 winforms项目中获取表单设计视图的任何快捷方式/ - any shortcut to get to design view of the form in visual studio 2010 winforms project/ 如何在Visual Studio 2010中将Crystal报表加载到报表查看器? - How to load crystal report to report viewer in visual studio 2010? 在报表查看器Visual Studio 2010中插入分页符 - insert page break in the report viewer visual studio 2010 Visual Studio 2010没有在工具箱中显示“打印”选项卡的Crystal Report Viewer? - Visual Studio 2010 not showing Crystal Report Viewer of Printing Tab in Toolbox? Crystal报表查看器不会出现在工具箱中 - Visual Studio 2010 - Crystal report viewer doesn't appear in toolbox - Visual Studio 2010
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM