[源碼下載]
[重新想象 Windows 8 Store Apps 系列文章]
作者:webabcd
1、重新想象 Windows 8.1 Store Apps (72) - 新增控件: AppBar, CommandBar
介紹
重新想象 Windows 8.1 Store Apps 之新增控件
- AppBar - 應用程序欄控件(新增了 AppBarButton, AppBarToggleButton, AppBarSeparator)
- CommandBar - 應用程序欄控件(AppBar 簡化版)
2、重新想象 Windows 8.1 Store Apps (73) - 新增控件: DatePicker, TimePicker
介紹
重新想象 Windows 8.1 Store Apps 之新增控件
- DatePicker - 日期選擇控件
- TimePicker - 時間選擇控件
3、重新想象 Windows 8.1 Store Apps (74) - 新增控件: Flyout, MenuFlyout, SettingsFlyout
介紹
重新想象 Windows 8.1 Store Apps 之新增控件
- Flyout - Flyout 控件
- MenuFlyout - 菜單 Flyout 控件
- SettingsFlyout - 設置面板 Flyout 控件
4、重新想象 Windows 8.1 Store Apps (75) - 新增控件: Hub, Hyperlink
介紹
重新想象 Windows 8.1 Store Apps 之新增控件
- Hub - 中心控件(由一個 header 和多個 section 組成)
- Hyperlink - 超鏈接控件(在 RichEditBox, RichTextBlock, RichTextBlockOverflow 內使用)
5、重新想象 Windows 8.1 Store Apps (76) - 新增控件: SearchBox
介紹
重新想象 Windows 8.1 Store Apps 之新增控件
- SearchBox - 搜索框(數據源在本地,從輸入法編輯器中獲取相關信息)
- SearchBox - 搜索框(數據源在服務端,為搜索建議增加圖標、描述等)
- SearchBox - 搜索框(數據源在本地文件的 metadata)
6、重新想象 Windows 8.1 Store Apps (77) - 控件增強: 文本類控件的增強, 部分控件增加了 Header 屬性和 HeaderTemplate 屬性, 部分控件增加了 PlaceholderText 屬性
介紹
重新想象 Windows 8.1 Store Apps 之控件增強
- 文本類控件的增強
- 為一些控件增加了 Header 屬性和 HeaderTemplate 屬性
- 為一些控件增加了 PlaceholderText 屬性
7、重新想象 Windows 8.1 Store Apps (78) - 控件增強: ScrollViewer, FlipView, Popup
介紹
重新想象 Windows 8.1 Store Apps 之控件增強
- ScrollViewer - 滾動視圖控件的增強
- FlipView - 滑動視圖控件的增強
- Popup - 彈出框控件的增強
8、重新想象 Windows 8.1 Store Apps (79) - 控件增強: MediaElement, Frame
介紹
重新想象 Windows 8.1 Store Apps 之控件增強
- MediaElement - 播放視頻或音頻的控件
- Frame - 框架控件,用於導航內容
9、重新想象 Windows 8.1 Store Apps (80) - 控件增強: WebView 之基本應用, POST 數據, 與 JavaScript 交互
介紹
重新想象 Windows 8.1 Store Apps 之控件增強
- WebView 的基本應用
- WebView 通過 POST 請求和 HTTP 頭加載 url
- WebView 與 JavaScript 交互
10、重新想象 Windows 8.1 Store Apps (81) - 控件增強: WebView 之加載本地 html, 智能替換 html 中的 url 引用, 通過 Share Contract 分享 WebView 中的內容, 為 WebView 截圖
介紹
重新想象 Windows 8.1 Store Apps 之控件增強
- WebView 加載本地 html,智能替換 html 中的 url 引用
- WebView 通過 Share Contract 分享
- WebView 截圖
11、重新想象 Windows 8.1 Store Apps (82) - 綁定: DataContextChanged, TargetNullValue, FallbackValue, UpdateSourceTrigger
介紹
重新想象 Windows 8.1 Store Apps 之綁定
- DataContextChanged - FrameworkElement 的 DataContext 發生變化時觸發的事件
- TargetNullValue - 當綁定數據為 null 時所需要顯示的值
- FallbackValue - 當綁定失敗(無法返回值)的時候所需要顯示的值
- UpdateSourceTrigger - UI 上數據更新的觸發方式
12、重新想象 Windows 8.1 Store Apps (83) - 文件系統的新特性
介紹
重新想象 Windows 8.1 Store Apps 之文件系統的新特性
- 簡要說明 win8.1 中關於文件系統的增強
- “庫”管理
- 管理以及使用索引
13、重新想象 Windows 8.1 Store Apps (84) - 圖像處理的新特性, Share Contract 的新特性
介紹
重新想象 Windows 8.1 Store Apps 之圖像處理的新特性, Share Contract 的新特性
- 圖像處理的新特性 - 通過 RenderTargetBitmap 對 xaml 截圖,以及保存圖片
- Share Contract 的新特性 - 增加 WebLink, ApplicationLink, 去掉了 Uri, “共享目標”可以自己 dismiss
14、重新想象 Windows 8.1 Store Apps (85) - 警報通知(鬧鍾), Tile 的新特性
介紹
重新想象 Windows 8.1 Store Apps 之通知的新特性
- 警報通知(鬧鍾)
- Tile 的新特性
15、重新想象 Windows 8.1 Store Apps (86) - 系統 UI 的新特性: Theme, 窗口寬度大小可變, ApplicationView, DisplayInformation
介紹
重新想象 Windows 8.1 Store Apps 之系統 UI 的新特性
- Theme - 主題(共有兩種主題:Light 和 Dark,默認是 Dark)
- 窗口寬度可調
- ApplicationView
- DisplayInformation
16、重新想象 Windows 8.1 Store Apps (87) - TTS: Speak Text, Speak SSML
介紹
重新想象 Windows 8.1 Store Apps 之 TTS(Text To Speech)
- Speak Text
- Speak SSML
17、重新想象 Windows 8.1 Store Apps (88) - 通信的新特性: 新的 HttpClient
介紹
重新想象 Windows 8.1 Store Apps 之通信的新特性
- 新的 HttpClient
- http get string
- http get stream
- http post string
- http post stream
18、重新想象 Windows 8.1 Store Apps (89) - 通信的新特性: 下載數據, 上傳數據, 上傳文件
介紹
重新想象 Windows 8.1 Store Apps 之通信的新特性
- 下載數據(顯示下載進度,將下載數據保存到本地)
- 上傳數據(顯示上傳進度)
- 上傳文件
19、重新想象 Windows 8.1 Store Apps (90) - 通信的新特性: 通過 HttpBaseProtocolFilter 實現 http 請求的緩存控制,以及 cookie 讀寫; 自定義 HttpFilter; 其他
介紹
重新想象 Windows 8.1 Store Apps 之通信的新特性
- 通過 HttpBaseProtocolFilter 控制緩存邏輯,以及如何通過 HttpBaseProtocolFilter 管理 cookie
- 自定義 HttpFilter
- 其他
20、重新想象 Windows 8.1 Store Apps (91) - 后台任務的新特性: 下載和上傳的新特性, 程序啟動前預下載網絡資源, 后台任務的其它新特性
介紹
重新想象 Windows 8.1 Store Apps 之后台任務的新特性
- 下載和上傳的新特性
- 程序啟動前預下載網絡資源
- 后台任務的其它新特性
21、重新想象 Windows 8.1 Store Apps (92) - 其他新特性: CoreDispatcher, 日歷, 自定義鎖屏系列圖片
介紹
重新想象 Windows 8.1 Store Apps 之其他新特性
- CoreDispatcher 的新特性
- “日歷”的相關操作
- 自定義鎖屏時需要顯示的系列圖片
22、重新想象 Windows 8.1 Store Apps (93) - 控件增強: GridView, ListView
介紹
重新想象 Windows 8.1 Store Apps 之控件增強
- GridView 和 ListView 每屏顯示的數據量多滾動也流暢
- GridViewItemPresenter 和 ListViewItemPresenter 更方便更快速地顯示各種狀態
- 自定義 GridViewItemPresenter 和 ListViewItemPresenter
OK
[源碼下載]
