|
134 | 134 | </Button.ContextFlyout>
|
135 | 135 | </Button>
|
136 | 136 |
|
| 137 | + <Button |
| 138 | + x:Name="FlyoutButton" |
| 139 | + Style="{StaticResource AddressToolbarButtonStyle}" |
| 140 | + ToolTipService.ToolTip="{x:Bind Commands.NavigateForward.LabelWithHotKey, Mode=OneWay}" |
| 141 | + Visibility="Collapsed"> |
| 142 | + <FontIcon FontSize="14" Glyph="" /> |
| 143 | + <Button.Flyout> |
| 144 | + <MenuFlyout Placement="BottomEdgeAlignedLeft"> |
| 145 | + <MenuFlyoutItem Command="{x:Bind Commands.NavigateForward, Mode=OneWay}" Text="{x:Bind Commands.NavigateForward.Label, Mode=OneWay}"> |
| 146 | + <MenuFlyoutItem.Icon> |
| 147 | + <FontIcon Glyph="{x:Bind Commands.NavigateForward.Glyph.BaseGlyph, Mode=OneTime}" /> |
| 148 | + </MenuFlyoutItem.Icon> |
| 149 | + </MenuFlyoutItem> |
| 150 | + <MenuFlyoutItem Command="{x:Bind Commands.NavigateUp, Mode=OneWay}" Text="{x:Bind Commands.NavigateUp.Label, Mode=OneWay}"> |
| 151 | + <MenuFlyoutItem.Icon> |
| 152 | + <FontIcon Glyph="{x:Bind Commands.NavigateUp.Glyph.BaseGlyph, Mode=OneTime}" /> |
| 153 | + </MenuFlyoutItem.Icon> |
| 154 | + </MenuFlyoutItem> |
| 155 | + <MenuFlyoutItem Command="{x:Bind Commands.RefreshItems, Mode=OneWay}" Text="{x:Bind Commands.RefreshItems.Label, Mode=OneWay}"> |
| 156 | + <MenuFlyoutItem.Icon> |
| 157 | + <FontIcon Glyph="{x:Bind Commands.RefreshItems.Glyph.BaseGlyph, Mode=OneTime}" /> |
| 158 | + </MenuFlyoutItem.Icon> |
| 159 | + </MenuFlyoutItem> |
| 160 | + </MenuFlyout> |
| 161 | + </Button.Flyout> |
| 162 | + </Button> |
| 163 | + |
137 | 164 | <Button
|
138 | 165 | x:Name="Forward"
|
139 | 166 | AccessKey="F"
|
|
558 | 585 | Target="{x:Bind ShowStatusCenterButton}" />
|
559 | 586 |
|
560 | 587 | <VisualStateManager.VisualStateGroups>
|
| 588 | + |
| 589 | + <VisualStateGroup x:Name="NavigationStates"> |
| 590 | + <VisualState x:Name="Narrow"> |
| 591 | + <VisualState.StateTriggers> |
| 592 | + <AdaptiveTrigger MinWindowWidth="0" /> |
| 593 | + </VisualState.StateTriggers> |
| 594 | + <VisualState.Setters> |
| 595 | + <Setter Target="FlyoutButton.Visibility" Value="Visible" /> |
| 596 | + <Setter Target="Forward.Visibility" Value="Collapsed" /> |
| 597 | + <Setter Target="Up.Visibility" Value="Collapsed" /> |
| 598 | + <Setter Target="Refresh.Visibility" Value="Collapsed" /> |
| 599 | + </VisualState.Setters> |
| 600 | + </VisualState> |
| 601 | + <VisualState x:Name="Wide"> |
| 602 | + <VisualState.StateTriggers> |
| 603 | + <AdaptiveTrigger MinWindowWidth="540" /> |
| 604 | + </VisualState.StateTriggers> |
| 605 | + <VisualState.Setters> |
| 606 | + <Setter Target="FlyoutButton.Visibility" Value="Collapsed" /> |
| 607 | + <Setter Target="Forward.Visibility" Value="Visible" /> |
| 608 | + <Setter Target="Up.Visibility" Value="Visible" /> |
| 609 | + <Setter Target="Refresh.Visibility" Value="Visible" /> |
| 610 | + </VisualState.Setters> |
| 611 | + </VisualState> |
| 612 | + </VisualStateGroup> |
| 613 | + |
561 | 614 | <VisualStateGroup>
|
562 | 615 | <VisualState x:Name="SearchBoxAlwaysShown">
|
563 | 616 | <VisualState.StateTriggers>
|
|
0 commit comments