【发布时间】:2011-12-19 05:23:02
【问题描述】:
我有设计师使用 Blend 来设计 windows phone 页面。它具有 d:DesignHeight 和 d:DesignWidth 集。
我使用适用于 Windows Phone 的 Visual Studio 2010 Express。现在,如果我在 DesignMode 中打开任何 .xaml 文件,它会重置 DesignHeight 和 Width。这真的很烦人,因为我必须在签入对 sourceControl 的更改之前手动更改回这些值。
看到这个WPF UserControl Design Time Size 但是在每一页都这样做对我来说是愚蠢的。
希望VS中有一个开关,我不知道。
有什么想法吗?
更新 我有以下内容:
SupportedOrientations="Landscape" Orientation="Landscape"
shell:SystemTray.IsVisible="True" d:DesignHeight="800" d:DesignWidth="480">
当我在设计模式下查看时,它会变为
d:DesignHeight="480" d:DesignWidth="782">
【问题讨论】:
标签: silverlight visual-studio-2010 silverlight-4.0 expression-blend windows-phone-7.1