繁体   English   中英

在Visual Studio 2012中的Metro风格应用程序的设计视图中滚动

[英]Scroll in design view for metro style app in Visual Studio 2012

我正在Visual Studio 2012中开发Metro风格应用(XAML)。我正在构建一个在用户必须滚动的屏幕上垂直流动的窗体。 我希望能够在设计视图中看到该表单,但是在超出屏幕高度后,我看不到我要添加的更改,因此必须运行该应用程序才能查看布局。 在工作时是否可以在设计视图中滚动? 谢谢。

如果要在设计模式下拉伸当前页面,可以使用DesignHeightDesignWidth属性。

<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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM