|
136 | 136 | </Button.ContextFlyout>
|
137 | 137 | </Button>
|
138 | 138 |
|
| 139 | + <Button |
| 140 | + x:Name="FlyoutButton" |
| 141 | + LosingFocus="NavigationButtonOverflowFlyoutButton_LosingFocus" |
| 142 | + Style="{StaticResource AddressToolbarButtonStyle}" |
| 143 | + ToolTipService.ToolTip="{helpers:ResourceString Name=SeeMore}" |
| 144 | + Visibility="Collapsed"> |
| 145 | + <FontIcon FontSize="14" Glyph="" /> |
| 146 | + <Button.Flyout> |
| 147 | + <MenuFlyout Placement="BottomEdgeAlignedLeft"> |
| 148 | + <MenuFlyoutItem Command="{x:Bind Commands.NavigateForward, Mode=OneWay}" Text="{x:Bind Commands.NavigateForward.Label, Mode=OneWay}"> |
| 149 | + <MenuFlyoutItem.Icon> |
| 150 | + <FontIcon Glyph="{x:Bind Commands.NavigateForward.Glyph.BaseGlyph, Mode=OneTime}" /> |
| 151 | + </MenuFlyoutItem.Icon> |
| 152 | + </MenuFlyoutItem> |
| 153 | + <MenuFlyoutItem Command="{x:Bind Commands.NavigateUp, Mode=OneWay}" Text="{x:Bind Commands.NavigateUp.Label, Mode=OneWay}"> |
| 154 | + <MenuFlyoutItem.Icon> |
| 155 | + <FontIcon Glyph="{x:Bind Commands.NavigateUp.Glyph.BaseGlyph, Mode=OneTime}" /> |
| 156 | + </MenuFlyoutItem.Icon> |
| 157 | + </MenuFlyoutItem> |
| 158 | + <MenuFlyoutItem Command="{x:Bind Commands.RefreshItems, Mode=OneWay}" Text="{x:Bind Commands.RefreshItems.Label, Mode=OneWay}"> |
| 159 | + <MenuFlyoutItem.Icon> |
| 160 | + <FontIcon Glyph="{x:Bind Commands.RefreshItems.Glyph.BaseGlyph, Mode=OneTime}" /> |
| 161 | + </MenuFlyoutItem.Icon> |
| 162 | + </MenuFlyoutItem> |
| 163 | + </MenuFlyout> |
| 164 | + </Button.Flyout> |
| 165 | + </Button> |
| 166 | + |
139 | 167 | <Button
|
140 | 168 | x:Name="Forward"
|
141 | 169 | AccessKey="F"
|
|
579 | 607 | Target="{x:Bind ShowStatusCenterButton}" />
|
580 | 608 |
|
581 | 609 | <VisualStateManager.VisualStateGroups>
|
| 610 | + <VisualStateGroup x:Name="NavigationStates"> |
| 611 | + <VisualState x:Name="Narrow"> |
| 612 | + <VisualState.StateTriggers> |
| 613 | + <AdaptiveTrigger MinWindowWidth="0" /> |
| 614 | + </VisualState.StateTriggers> |
| 615 | + <VisualState.Setters> |
| 616 | + <Setter Target="FlyoutButton.Visibility" Value="Visible" /> |
| 617 | + <Setter Target="Forward.Visibility" Value="Collapsed" /> |
| 618 | + <Setter Target="Up.Visibility" Value="Collapsed" /> |
| 619 | + <Setter Target="Refresh.Visibility" Value="Collapsed" /> |
| 620 | + </VisualState.Setters> |
| 621 | + </VisualState> |
| 622 | + <VisualState x:Name="Wide"> |
| 623 | + <VisualState.StateTriggers> |
| 624 | + <AdaptiveTrigger MinWindowWidth="540" /> |
| 625 | + </VisualState.StateTriggers> |
| 626 | + <VisualState.Setters> |
| 627 | + <Setter Target="FlyoutButton.Visibility" Value="Collapsed" /> |
| 628 | + <Setter Target="Forward.Visibility" Value="Visible" /> |
| 629 | + <Setter Target="Up.Visibility" Value="Visible" /> |
| 630 | + <Setter Target="Refresh.Visibility" Value="Visible" /> |
| 631 | + </VisualState.Setters> |
| 632 | + </VisualState> |
| 633 | + </VisualStateGroup> |
| 634 | + |
582 | 635 | <VisualStateGroup x:Name="SearchBoxStates">
|
583 | 636 | <VisualState x:Name="SearchBoxAlwaysShown">
|
584 | 637 | <VisualState.StateTriggers>
|
|
0 commit comments