Семантическое представление о уменьшении больше, чем накладывание другого вида уменьшения в Windows Phone 8.1
У меня есть 5 опорных пунктов. в каждом из них у меня есть семантическое увеличение при просмотре и уменьшении, когда я делаю семантическое уменьшение, это перекрывает другой экран семантического уменьшения. как решить эту проблему.
Это мой код:
<Grid Margin="0 -15 0 0" Grid.RowSpan="2" x:Name="MainGrid">
<Pivot x:Name="PivotControl" x:Uid="PivotControlTitle" PivotItemLoaded="PivotControl_PivotItemLoaded" Visibility="{Binding PivotControlVisibility}">
<PivotItem Margin="20 10 15 10" Tag="0">
<SemanticZoom IsZoomedInViewActive="{Binding IsSZoomedInViewActive, Mode=TwoWay}">
<SemanticZoom.ZoomedInView>
<GridView
AutomationProperties.AutomationId="ItemsGridView"
AutomationProperties.Name="Grouped Items"
SelectionMode="Multiple"
ItemTemplate="{StaticResource fileItemControl}"
ItemsSource="{Binding Source={StaticResource groupItemViewSource}}"
IsSwipeEnabled="True"
>
<GridView.GroupStyle>
<GroupStyle HidesIfEmpty="True">
<GroupStyle.HeaderTemplate>
<DataTemplate>
<TextBlock
Padding="0 2 0 11"
x:Name="GroupHeader"
Style="{StaticResource SubheaderTextBlockStyle}"
Foreground="White"
Text="{Binding GroupName}"/>
</DataTemplate>
</GroupStyle.HeaderTemplate>
<GroupStyle.Panel>
<ItemsPanelTemplate>
<ItemsWrapGrid Orientation="Vertical" Margin="0 0 20 0"/>
</ItemsPanelTemplate>
</GroupStyle.Panel>
</GroupStyle>
</GridView.GroupStyle>
<i:Interaction.Behaviors>
<core:EventTriggerBehavior EventName="SelectionChanged">
<core:InvokeCommandAction Command="{Binding GridViewSelectionChanged}" />
</core:EventTriggerBehavior>
</i:Interaction.Behaviors>
</GridView>
</SemanticZoom.ZoomedInView>
<SemanticZoom.ZoomedOutView>
<GridView
Padding="18 0 0 0"
AutomationProperties.AutomationId="ItemsGridView"
AutomationProperties.Name="Grouped Items"
Background="#DD000000"
SelectionMode="None"
IsSwipeEnabled="True"
SelectedIndex="{Binding SZOutSelectedIndex, Mode=TwoWay}"
HeaderTemplate="{StaticResource SemanticZoomOutViewHeaderTemplate}"
ItemTemplate="{StaticResource DefaultGroupOutViewItemTemplate}"
>
<Style TargetType="GridViewItem">
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}" />
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}" />
<Setter Property="Background" Value="Transparent"/>
<Setter Property="TabNavigation" Value="Local"/>
<Setter Property="IsHoldingEnabled" Value="True"/>
<Setter Property="Margin" Value="0,7,4,4"/>
</Style>
</GridView>
</SemanticZoom.ZoomedOutView>
</SemanticZoom>
</PivotItem
Над управлением поворота есть еще 4 элемента поворота, как над одним