標籤:
- 建立空項目 - 並將這個項目與 github 相關聯。 - 可以自己建立 + 可以Fork + 可以協同辦公。
- 現在類似的雲代碼管理平台,微軟也有一個 - Windows Azure - 還提供免費使用機會。
----- 不懂的程式碼片段: - [git上的Cnblog程式碼片段]
1.local:PostControl的寫法:
1 <ListView x:Name="lv_Posts" Grid.Row="1" Background="{ThemeResource CNBlogsBackColor}"> 2 <ListView.Header> 3 <local:ListViewHeaderControl Name="基類頁面"/> 4 </ListView.Header> 5 <ListView.ItemTemplate> 6 <DataTemplate> 7 <local:PostControl Tapped="PostControl_Tapped"/> 8 </DataTemplate> 9 </ListView.ItemTemplate>10 </ListView>
2.UI主題的設定,切換?
1 namespace Windows.UI.Xaml 2 { 3 // 摘要: 4 // 指定應當用於應用程式 UI 的各個 UIElement 組件的 UI 主題。 5 [SupportedOn(100859904, Platform.Windows)] 6 [SupportedOn(100859904, Platform.WindowsPhone)] 7 [Version(100859904)] 8 [WebHostHidden] 9 public enum ElementTheme10 {11 // 摘要: 12 // 使用元素的 Application.RequestedTheme 值。這是預設值。13 [SupportedOn(100859904, Platform.Windows)]14 [SupportedOn(100859904, Platform.WindowsPhone)]15 Default = 0,16 //17 // 摘要: 18 // 使用 Light 預設主題。19 [SupportedOn(100859904, Platform.Windows)]20 [SupportedOn(100859904, Platform.WindowsPhone)]21 Light = 1,22 //23 // 摘要: 24 // 使用 Dark 預設主題。25 [SupportedOn(100859904, Platform.Windows)]26 [SupportedOn(100859904, Platform.WindowsPhone)]27 Dark = 2,28 }29 }
----- 代碼概要:
1.Page.BottomAppBar -> CommandBar -> AppBarButton -- [下端的按鈕]
2.Page的UI主題 - page.RequestedTheme = 這個是不是預設的?
3.My Code全被 git 還原了。。。
4.
在VS2013上使用git - Fork Cnblog App