摘要:
1 <GridView.ItemsPanel> 2 <ItemsPanelTemplate> 3 <VirtualizingStackPanel Orientation="Horizontal"/> 4 </ItemsPanelTemplate> 5 </GridView.ItemsPanel> 6 <GridView.GroupStyle> 7 <Gr... 阅读全文
摘要:
In Windows 8, your apps run on a variety of screen sizes and under various view states. A user might have your app snapped to the side of a 25-inch desktop monitor, or fill the whole screen of a 10-inch widescreen tablet. In each case, you want your app to take full advantage of the available space. 阅读全文
摘要:
1 /// <summary> 2 /// 数据存储 3 /// </summary> 4 /// <typeparam name="T"></typeparam> 5 /// <param name="data"></param> 6 /// <param name="fileName"></param> 7 /// <returns></returns> 8 public static async Task Sa 阅读全文
摘要:
1 public static ApplicationDataContainer localSettings = ApplicationData.Current.LocalSettings; 2 3 public static void saveData(string name, string value) 4 { 5 6 localSettings.Values[name] = value; 7 } 8 /************************* 9 *FUNC 获取对应文件名的数... 阅读全文
摘要:
<DataTemplate x:Key="Standard250x250ItemTemplate"> <Grid HorizontalAlignment="Center" Width="250" Height="250"> <Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}"> <Image Source="{Binding Image 阅读全文
摘要:
Window.Current.SizeChanged += this.WindowSizeChanged; private void WindowSizeChanged(object sender, Windows.UI.Core.WindowSizeChangedEventArgs e) { if (this._useFilledStateForNarrowWindow) this.InvalidateVisualState(); switch (Windows.UI.ViewManagement.ApplicationView.V... 阅读全文