|
265 | 265 |
|
266 | 266 | <Button |
267 | 267 | x:Name="Back" |
268 | | - x:FieldModifier="public" |
269 | 268 | AccessKey="B" |
270 | 269 | AccessKeyInvoked="Button_AccessKeyInvoked" |
271 | 270 | AutomationProperties.FullDescription="{x:Bind ViewModel.Commands.NavigateBack.Description, Mode=OneWay}" |
|
295 | 294 |
|
296 | 295 | <Button |
297 | 296 | x:Name="Forward" |
298 | | - x:FieldModifier="public" |
299 | 297 | AccessKey="F" |
300 | 298 | AccessKeyInvoked="Button_AccessKeyInvoked" |
301 | 299 | AutomationProperties.FullDescription="{x:Bind ViewModel.Commands.NavigateForward.Description, Mode=OneWay}" |
|
325 | 323 |
|
326 | 324 | <Button |
327 | 325 | x:Name="Up" |
328 | | - x:FieldModifier="public" |
329 | 326 | AccessKey="U" |
330 | 327 | AccessKeyInvoked="Button_AccessKeyInvoked" |
331 | 328 | AutomationProperties.FullDescription="{x:Bind ViewModel.Commands.NavigateUp.Description, Mode=OneWay}" |
|
339 | 336 |
|
340 | 337 | <Button |
341 | 338 | x:Name="Refresh" |
342 | | - x:FieldModifier="public" |
343 | 339 | AccessKey="R" |
344 | 340 | AccessKeyInvoked="Button_AccessKeyInvoked" |
345 | 341 | AutomationProperties.Name="{x:Bind Commands.RefreshItems.Label}" |
|
349 | 345 | ToolTipService.ToolTip="{x:Bind Commands.RefreshItems.LabelWithHotKey, Mode=OneWay}"> |
350 | 346 | <FontIcon FontSize="14" Glyph="{x:Bind Commands.RefreshItems.Glyph.BaseGlyph}" /> |
351 | 347 | </Button> |
| 348 | + |
| 349 | + <Button |
| 350 | + x:Name="HomeButton" |
| 351 | + x:Load="{x:Bind ViewModel.ShowHomeButton, Mode=OneWay}" |
| 352 | + AccessKey="H" |
| 353 | + AccessKeyInvoked="Button_AccessKeyInvoked" |
| 354 | + AutomationProperties.Name="{x:Bind Commands.NavigateHome.Label}" |
| 355 | + Command="{x:Bind Commands.NavigateHome, Mode=OneWay}" |
| 356 | + IsEnabled="{x:Bind Commands.NavigateHome.IsExecutable, Mode=OneWay}" |
| 357 | + Style="{StaticResource AddressToolbarButtonStyle}" |
| 358 | + ToolTipService.ToolTip="{x:Bind Commands.NavigateHome.LabelWithHotKey, Mode=OneWay}"> |
| 359 | + <FontIcon FontSize="14" Glyph="{x:Bind Commands.NavigateHome.Glyph.BaseGlyph}" /> |
| 360 | + </Button> |
352 | 361 | </StackPanel> |
353 | 362 |
|
354 | 363 | <!-- Path Box --> |
|
0 commit comments