Skip to content
This repository was archived by the owner on Jul 23, 2019. It is now read-only.

Commit 392b385

Browse files
committed
[ShellView] Flesh out program menu, with icons, alt key combinations, and InputGestureTexts.
1 parent ec86719 commit 392b385

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

YouTube Downloader/Views/ShellView.xaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,23 @@
44
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
55
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
66
xmlns:Caliburn="http://www.caliburnproject.org"
7+
xmlns:Helpers="clr-namespace:YouTube.Downloader.Helpers"
78
xmlns:ViewModels="clr-namespace:YouTube.Downloader.ViewModels"
89
mc:Ignorable="d"
910
d:DataContext="{d:DesignInstance ViewModels:ShellViewModel}"
1011
WindowStartupLocation="CenterScreen">
1112
<DockPanel>
1213
<Menu DockPanel.Dock="Top">
13-
<MenuItem Header="File">
14-
<MenuItem Header="Exit"
14+
<MenuItem Header="_File">
15+
<MenuItem Header="_Exit"
16+
InputGestureText="Alt+F4"
17+
Helpers:ImageContentHelper.Image="{StaticResource Delete}"
1518
Caliburn:Message.Attach="Exit"/>
1619
</MenuItem>
1720

18-
<MenuItem Header="Settings">
19-
<MenuItem Header="Open Settings"
21+
<MenuItem Header="_Settings">
22+
<MenuItem Header="_Open Settings"
23+
Helpers:ImageContentHelper.Image="{StaticResource Settings}"
2024
Caliburn:Message.Attach="OpenSettings"/>
2125
</MenuItem>
2226
</Menu>

0 commit comments

Comments
 (0)