【问题标题】:Windows Phone 8.1 UIElement size limitationWindows Phone 8.1 UIElement 大小限制
【发布时间】:2015-11-24 02:39:03
【问题描述】:

在 Windows Phone Silverlight 8 上,最大 UIElement 大小为 2048x2048。

在带有 Windows 运行时 XAML 的 WP 8.1 上是否仍然存在此限制?

【问题讨论】:

  • 嗯,最简单的可能还是尝试一下

标签: winrt-xaml windows-phone-8.1


【解决方案1】:

没有。

  <ScrollViewer>
            <Grid Width="150"
                  Height="40000"
                  Background="Green" Margin="20"></Grid>
  </ScrollViewer>

成功了!

【讨论】:

    【解决方案2】:

    不。 Windows 运行时应用程序没有大小限制。在 Phone 和 Store 应用程序中,您可以使用任意大小(宽度和高度)的 UIElement。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-04-03
      • 2015-12-05
      • 1970-01-01
      相关资源
      最近更新 更多