windows8开始屏幕的( - )按钮的代码

时间:2012-12-11 16:22:00

标签: windows-8 startup

单击@上显示图像突出显示部分的“ - ”符号@ http://www.freeimagehosting.net/2qjtc

屏幕变为图片@ http://www.freeimagehosting.net/8311b

我想在我的应用程序中使用相同的功能。

任何人都可以告诉我2如何使用此功能。

sry fr给图片提供网址,[由于声誉不佳我无法发布图片]

1 个答案:

答案 0 :(得分:2)

这是语义缩放。

您需要为App创建两个不同的视图,并将它们插入到XAML的<SemanticZoom>标记中。

您应用的现有视图是放大视图。

<SemanticZoom>

<SemanticZoom.ZoomedOutView>
    <!-- Put the GridView for the zoomed out view here. -->   
</SemanticZoom.ZoomedOutView>

<SemanticZoom.ZoomedInView>
    <!-- Put the GridView for the zoomed in view here. -->       
</SemanticZoom.ZoomedInView>