标签:style blog http io ar 使用 sp 数据 on
<SemanticZoom x:Name="semanticZoom" IsZoomOutButtonEnabled="True" CanChangeViews="True"> <SemanticZoom.ZoomedInView> <ListView x:Name="listViewDetail" IsSwipeEnabled="True" IsTapEnabled="True" IsItemClickEnabled="True" IsZoomedInView="True"> <ListView.ItemTemplate> <DataTemplate> <Grid Height="40"> <Grid.ColumnDefinitions> <ColumnDefinition Width="50"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Border Background="AliceBlue" Grid.Column="0"/> <TextBlock Grid.Column="1" Text="{Binding ContactName}" FontSize="30"/> </Grid> </DataTemplate> </ListView.ItemTemplate> <ListView.GroupStyle> <GroupStyle> <GroupStyle.HeaderTemplate> <DataTemplate> <Border Background="Blue" Height="50" Width="50" HorizontalAlignment="Left" Margin="0,20,0,20" Tapped="Border_Tapped"> <TextBlock Text="{Binding Title}" FontSize="30"/> </Border> </DataTemplate> </GroupStyle.HeaderTemplate> <GroupStyle.Panel> <ItemsPanelTemplate> <VariableSizedWrapGrid Orientation="Vertical" Margin="0 0 0 20" ItemHeight="75"/> </ItemsPanelTemplate> </GroupStyle.Panel> </GroupStyle> </ListView.GroupStyle> <ListView.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Vertical" /> </ItemsPanelTemplate> </ListView.ItemsPanel> </ListView> </SemanticZoom.ZoomedInView> <SemanticZoom.ZoomedOutView> <ListView x:Name="listViewSummary" Background="Black" IsZoomedInView="False"> <ListView.ItemTemplate> <DataTemplate> <Border Height="70" Width="400" Background="Blue" Margin="10,10,10,10"> <TextBlock Text="{Binding Group.Title}" FontSize="30"/> </Border> </DataTemplate> </ListView.ItemTemplate> <ListView.ItemsPanel> <ItemsPanelTemplate> <StackPanel Orientation="Vertical"/> </ItemsPanelTemplate> </ListView.ItemsPanel> </ListView> </SemanticZoom.ZoomedOutView> </SemanticZoom>
Windows Phone 8.1 新特性 - 控件之列表选择控件
标签:style blog http io ar 使用 sp 数据 on
原文地址:http://www.cnblogs.com/huasili/p/4120180.html