|
267 | 267 | x:Name="Back" |
268 | 268 | AccessKey="B" |
269 | 269 | AccessKeyInvoked="Button_AccessKeyInvoked" |
270 | | - AutomationProperties.FullDescription="{x:Bind ViewModel.Commands.NavigateBack.Description, Mode=OneWay}" |
271 | | - AutomationProperties.Name="{x:Bind ViewModel.Commands.NavigateBack.Label, Mode=OneWay}" |
272 | | - Command="{x:Bind ViewModel.Commands.NavigateBack, Mode=OneWay}" |
273 | | - IsEnabled="{x:Bind ViewModel.Commands.NavigateBack.IsExecutable, Mode=OneWay}" |
| 270 | + AutomationProperties.FullDescription="{x:Bind Commands.NavigateBack.Description, Mode=OneWay}" |
| 271 | + AutomationProperties.Name="{x:Bind Commands.NavigateBack.Label, Mode=OneWay}" |
| 272 | + Command="{x:Bind Commands.NavigateBack, Mode=OneWay}" |
| 273 | + IsEnabled="{x:Bind Commands.NavigateBack.IsExecutable, Mode=OneWay}" |
274 | 274 | Style="{StaticResource AddressToolbarButtonStyle}" |
275 | | - ToolTipService.ToolTip="{x:Bind ViewModel.Commands.NavigateBack.LabelWithHotKey, Mode=OneWay}"> |
276 | | - <FontIcon FontSize="14" Glyph="{x:Bind ViewModel.Commands.NavigateBack.Glyph.BaseGlyph, Mode=OneWay}" /> |
| 275 | + ToolTipService.ToolTip="{x:Bind Commands.NavigateBack.LabelWithHotKey, Mode=OneWay}"> |
| 276 | + <FontIcon FontSize="14" Glyph="{x:Bind Commands.NavigateBack.Glyph.BaseGlyph, Mode=OneTime}" /> |
277 | 277 | <Button.ContextFlyout> |
278 | 278 | <MenuFlyout |
279 | 279 | x:Name="BackHistoryFlyout" |
|
297 | 297 | x:Name="Forward" |
298 | 298 | AccessKey="F" |
299 | 299 | AccessKeyInvoked="Button_AccessKeyInvoked" |
300 | | - AutomationProperties.FullDescription="{x:Bind ViewModel.Commands.NavigateForward.Description, Mode=OneWay}" |
301 | | - AutomationProperties.Name="{x:Bind ViewModel.Commands.NavigateForward.Label, Mode=OneWay}" |
302 | | - Command="{x:Bind ViewModel.Commands.NavigateForward, Mode=OneWay}" |
303 | | - IsEnabled="{x:Bind ViewModel.Commands.NavigateForward.IsExecutable, Mode=OneWay}" |
| 300 | + AutomationProperties.FullDescription="{x:Bind Commands.NavigateForward.Description, Mode=OneWay}" |
| 301 | + AutomationProperties.Name="{x:Bind Commands.NavigateForward.Label, Mode=OneWay}" |
| 302 | + Command="{x:Bind Commands.NavigateForward, Mode=OneWay}" |
| 303 | + IsEnabled="{x:Bind Commands.NavigateForward.IsExecutable, Mode=OneWay}" |
304 | 304 | Style="{StaticResource AddressToolbarButtonStyle}" |
305 | | - ToolTipService.ToolTip="{x:Bind ViewModel.Commands.NavigateForward.LabelWithHotKey, Mode=OneWay}"> |
306 | | - <FontIcon FontSize="14" Glyph="{x:Bind ViewModel.Commands.NavigateForward.Glyph.BaseGlyph, Mode=OneWay}" /> |
| 305 | + ToolTipService.ToolTip="{x:Bind Commands.NavigateForward.LabelWithHotKey, Mode=OneWay}"> |
| 306 | + <FontIcon FontSize="14" Glyph="{x:Bind Commands.NavigateForward.Glyph.BaseGlyph, Mode=OneTime}" /> |
307 | 307 | <Button.ContextFlyout> |
308 | 308 | <MenuFlyout |
309 | 309 | x:Name="ForwardHistoryFlyout" |
|
327 | 327 | x:Name="Up" |
328 | 328 | AccessKey="U" |
329 | 329 | AccessKeyInvoked="Button_AccessKeyInvoked" |
330 | | - AutomationProperties.FullDescription="{x:Bind ViewModel.Commands.NavigateUp.Description, Mode=OneWay}" |
331 | | - AutomationProperties.Name="{x:Bind ViewModel.Commands.NavigateUp.Label, Mode=OneWay}" |
332 | | - Command="{x:Bind ViewModel.Commands.NavigateUp, Mode=OneWay}" |
333 | | - IsEnabled="{x:Bind ViewModel.Commands.NavigateUp.IsExecutable, Mode=OneWay}" |
| 330 | + AutomationProperties.FullDescription="{x:Bind Commands.NavigateUp.Description, Mode=OneWay}" |
| 331 | + AutomationProperties.Name="{x:Bind Commands.NavigateUp.Label, Mode=OneWay}" |
| 332 | + Command="{x:Bind Commands.NavigateUp, Mode=OneWay}" |
| 333 | + IsEnabled="{x:Bind Commands.NavigateUp.IsExecutable, Mode=OneWay}" |
334 | 334 | Style="{StaticResource AddressToolbarButtonStyle}" |
335 | | - ToolTipService.ToolTip="{x:Bind ViewModel.Commands.NavigateUp.LabelWithHotKey, Mode=OneWay}"> |
336 | | - <FontIcon FontSize="14" Glyph="{x:Bind ViewModel.Commands.NavigateUp.Glyph.BaseGlyph, Mode=OneWay}" /> |
| 335 | + ToolTipService.ToolTip="{x:Bind Commands.NavigateUp.LabelWithHotKey, Mode=OneWay}"> |
| 336 | + <FontIcon FontSize="14" Glyph="{x:Bind Commands.NavigateUp.Glyph.BaseGlyph, Mode=OneTime}" /> |
337 | 337 | </Button> |
338 | 338 |
|
339 | 339 | <Button |
340 | 340 | x:Name="Refresh" |
341 | 341 | AccessKey="R" |
342 | 342 | AccessKeyInvoked="Button_AccessKeyInvoked" |
343 | | - AutomationProperties.Name="{x:Bind Commands.RefreshItems.Label}" |
| 343 | + AutomationProperties.Name="{x:Bind Commands.RefreshItems.Label, Mode=OneWay}" |
344 | 344 | Command="{x:Bind Commands.RefreshItems, Mode=OneWay}" |
345 | 345 | IsEnabled="{x:Bind Commands.RefreshItems.IsExecutable, Mode=OneWay}" |
346 | 346 | Style="{StaticResource AddressToolbarButtonStyle}" |
347 | 347 | ToolTipService.ToolTip="{x:Bind Commands.RefreshItems.LabelWithHotKey, Mode=OneWay}"> |
348 | | - <FontIcon FontSize="14" Glyph="{x:Bind Commands.RefreshItems.Glyph.BaseGlyph}" /> |
| 348 | + <FontIcon FontSize="14" Glyph="{x:Bind Commands.RefreshItems.Glyph.BaseGlyph, Mode=OneTime}" /> |
349 | 349 | </Button> |
350 | 350 |
|
351 | 351 | <Button |
352 | 352 | x:Name="HomeButton" |
353 | 353 | x:Load="{x:Bind ViewModel.ShowHomeButton, Mode=OneWay}" |
354 | 354 | AccessKey="H" |
355 | 355 | AccessKeyInvoked="Button_AccessKeyInvoked" |
356 | | - AutomationProperties.Name="{x:Bind Commands.NavigateHome.Label}" |
| 356 | + AutomationProperties.Name="{x:Bind Commands.NavigateHome.Label, Mode=OneWay}" |
357 | 357 | Command="{x:Bind Commands.NavigateHome, Mode=OneWay}" |
358 | 358 | IsEnabled="{x:Bind Commands.NavigateHome.IsExecutable, Mode=OneWay}" |
359 | 359 | Style="{StaticResource AddressToolbarButtonStyle}" |
360 | 360 | ToolTipService.ToolTip="{x:Bind Commands.NavigateHome.LabelWithHotKey, Mode=OneWay}"> |
361 | | - <FontIcon FontSize="14" Glyph="{x:Bind Commands.NavigateHome.Glyph.BaseGlyph}" /> |
| 361 | + <FontIcon FontSize="14" Glyph="{x:Bind Commands.NavigateHome.Glyph.BaseGlyph, Mode=OneTime}" /> |
362 | 362 | </Button> |
363 | 363 | </StackPanel> |
364 | 364 |
|
|
478 | 478 | x:Name="ShowSearchButton" |
479 | 479 | AccessKey="I" |
480 | 480 | AccessKeyInvoked="Button_AccessKeyInvoked" |
481 | | - AutomationProperties.Name="{x:Bind ViewModel.Commands.Search.Label}" |
482 | | - Command="{x:Bind ViewModel.Commands.Search, Mode=OneWay}" |
483 | | - IsEnabled="{x:Bind ViewModel.Commands.Search.IsExecutable}" |
| 481 | + AutomationProperties.Name="{x:Bind Commands.Search.Label, Mode=OneWay}" |
| 482 | + Command="{x:Bind Commands.Search, Mode=OneWay}" |
| 483 | + IsEnabled="{x:Bind Commands.Search.IsExecutable, Mode=OneWay}" |
484 | 484 | Style="{StaticResource AddressToolbarButtonStyle}" |
485 | | - ToolTipService.ToolTip="{x:Bind ViewModel.Commands.Search.LabelWithHotKey, Mode=OneWay}" |
| 485 | + ToolTipService.ToolTip="{x:Bind Commands.Search.LabelWithHotKey, Mode=OneWay}" |
486 | 486 | Visibility="Collapsed"> |
487 | | - <FontIcon FontSize="14" Glyph="{x:Bind ViewModel.SearchButtonGlyph, Mode=OneWay}" /> |
| 487 | + <FontIcon FontSize="14" Glyph="{x:Bind ViewModel.SearchButtonGlyph, Mode=OneTime}" /> |
488 | 488 | </Button> |
489 | 489 |
|
490 | 490 | <!-- Shelf Pane --> |
|
495 | 495 | Padding="0" |
496 | 496 | x:Load="{x:Bind ViewModel.ShowShelfPaneToggleButton, Mode=OneWay}" |
497 | 497 | AccessKeyInvoked="Button_AccessKeyInvoked" |
498 | | - AutomationProperties.Name="{x:Bind ViewModel.Commands.ToggleShelfPane.Label}" |
| 498 | + AutomationProperties.Name="{x:Bind Commands.ToggleShelfPane.Label, Mode=OneWay}" |
499 | 499 | Background="Transparent" |
500 | 500 | BorderBrush="Transparent" |
501 | 501 | IsChecked="{x:Bind Commands.ToggleShelfPane.IsOn, Mode=TwoWay}" |
502 | | - ToolTipService.ToolTip="{x:Bind ViewModel.Commands.ToggleShelfPane.LabelWithHotKey, Mode=OneWay}"> |
| 502 | + ToolTipService.ToolTip="{x:Bind Commands.ToggleShelfPane.LabelWithHotKey, Mode=OneWay}"> |
503 | 503 | <controls:ThemedIcon |
504 | 504 | Width="16" |
505 | 505 | Height="16" |
|
609 | 609 | x:Load="{x:Bind ViewModel.IsAppUpdated, Mode=OneWay}" |
610 | 610 | AccessKey="2" |
611 | 611 | AccessKeyInvoked="Button_AccessKeyInvoked" |
612 | | - AutomationProperties.Name="{x:Bind ViewModel.Commands.OpenReleaseNotes.Label}" |
613 | | - Command="{x:Bind ViewModel.Commands.OpenReleaseNotes, Mode=OneWay}" |
| 612 | + AutomationProperties.Name="{x:Bind Commands.OpenReleaseNotes.Label, Mode=OneWay}" |
| 613 | + Command="{x:Bind Commands.OpenReleaseNotes, Mode=OneWay}" |
614 | 614 | Style="{StaticResource AddressToolbarButtonStyle}" |
615 | | - ToolTipService.ToolTip="{x:Bind ViewModel.Commands.OpenReleaseNotes.LabelWithHotKey}" |
616 | | - Visibility="{x:Bind ViewModel.Commands.OpenReleaseNotes.IsExecutable, Mode=OneWay}"> |
| 615 | + ToolTipService.ToolTip="{x:Bind Commands.OpenReleaseNotes.LabelWithHotKey, Mode=OneWay}" |
| 616 | + Visibility="{x:Bind Commands.OpenReleaseNotes.IsExecutable, Mode=OneWay}"> |
617 | 617 | <controls:ThemedIcon |
618 | 618 | Width="16" |
619 | 619 | Height="16" |
620 | 620 | Style="{StaticResource App.ThemedIcons.AppUpdatedBox}" /> |
621 | 621 | </Button> |
622 | | - |
623 | 622 | </StackPanel> |
624 | 623 |
|
625 | 624 | <!-- Status Center TeachingTip --> |
|
0 commit comments