天天看點

重新想象 Windows 8 Store Apps (56) - 系統 UI: Scale, Snap, Orientation, High Contrast 等

<a href="http://files.cnblogs.com/webabcd/Windows8.rar">[源碼下載下傳]</a>

重新想象 Windows 8 Store Apps (56) - 系統 UI: Scale, Snap, Orientation, High Contrast 等

介紹

重新想象 Windows 8 Store Apps 之 系統 UI

擷取系統的 UI 相關的設定資訊

螢幕方向

Snap

為 snap 操作和螢幕方向的改變增加動畫效果

縮放至不同螢幕

高對比度

示例

1、示範如何擷取系統的 UI 相關的設定資訊

UI/UISettingsInfo.xaml.cs

2、示範與“螢幕方向”相關的知識點

UI/ScreenOrientation.xaml

UI/ScreenOrientation.xaml.cs

3、示範與“snap”相關的知識點

UI/Snap.xaml

UI/Snap.xaml.cs

4、示範如何為 ApplicationViewState 的變化增加動畫效果

UI/ApplicationViewStateAnimation.xaml

UI/ApplicationViewStateAnimation.xaml.cs

5、示範 WinRT 中關于“縮放至不同螢幕”的概念

UI/Scale.xaml

UI/Scale.xaml.cs

6、示範 WinRT 中關于“對比度”的概念

UI/HighContrast.xaml

UI/HighContrast.xaml.cs

OK

繼續閱讀