[英]Scroll in design view for metro style app in Visual Studio 2012
I am working on a metro style app (XAML) in Visual Studio 2012. I am building a form that flows vertically on the screen that the user will have to scroll. 我正在Visual Studio 2012中开发Metro风格应用(XAML)。我正在构建一个在用户必须滚动的屏幕上垂直流动的窗体。 I would like to be able to see the form in design view but after it exceeds the height of the screen I can't see the changes I am adding anymore and I have to run the app to see the layout.
我希望能够在设计视图中看到该表单,但是在超出屏幕高度后,我看不到我要添加的更改,因此必须运行该应用程序才能查看布局。 Is there a way to scroll in design view as you are working?
在工作时是否可以在设计视图中滚动? Thanks.
谢谢。
You can use DesignHeight
& DesignWidth
property, if you want to stretch the current page in design mode. 如果要在设计模式下拉伸当前页面,可以使用
DesignHeight
和DesignWidth
属性。
<Page
x:Class="App1.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:App1"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="1768"
d:DesignWidth="2366">
<!-- Other XAML Controls -->
</Page>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.