|
7 | 7 | <ResourceDictionary Source="../Styles/BookmarkButtonStyle.xaml"/>
|
8 | 8 | </ResourceDictionary.MergedDictionaries>
|
9 | 9 |
|
10 |
| - <ContextMenu x:Key="ItemContextMenu" IsOpen="{Binding Path=ContextMenuIsOpen, Mode=TwoWay}"> |
11 |
| - |
12 |
| - <MenuItem Header="Go to Definition" Command="{Binding Path=GoToDefinitionCommand}"> |
| 10 | + <ContextMenu |
| 11 | + x:Key="ItemContextMenu" |
| 12 | + IsOpen="{Binding Path=ContextMenuIsOpen, Mode=TwoWay}"> |
| 13 | + |
| 14 | + <MenuItem |
| 15 | + Header="Go to Definition" |
| 16 | + Command="{Binding Path=GoToDefinitionCommand}"> |
13 | 17 | <MenuItem.Icon>
|
14 | 18 | <imaging:CrispImage Moniker="{x:Static catalog:KnownMonikers.GoToDefinition}" />
|
15 | 19 | </MenuItem.Icon>
|
16 | 20 | </MenuItem>
|
17 | 21 |
|
18 |
| - <MenuItem Header="Go to End" Command="{Binding Path=GoToEndCommand}"> |
| 22 | + <MenuItem |
| 23 | + Header="Go to End" |
| 24 | + Command="{Binding Path=GoToEndCommand}"> |
19 | 25 | <MenuItem.Icon>
|
20 | 26 | <imaging:CrispImage Moniker="{x:Static catalog:KnownMonikers.HTMLEndTag}" />
|
21 | 27 | </MenuItem.Icon>
|
22 | 28 | </MenuItem>
|
23 | 29 |
|
24 | 30 | <Separator />
|
25 | 31 |
|
26 |
| - <MenuItem Header="Select In Code" Command="{Binding Path=SelectInCodeCommand}"> |
| 32 | + <MenuItem |
| 33 | + Header="Select In Code" |
| 34 | + Command="{Binding Path=SelectInCodeCommand}"> |
27 | 35 | <MenuItem.Icon>
|
28 | 36 | <imaging:CrispImage Moniker="{x:Static catalog:KnownMonikers.BlockSelection}" />
|
29 | 37 | </MenuItem.Icon>
|
30 | 38 | </MenuItem>
|
31 | 39 |
|
32 | 40 | <Separator />
|
33 | 41 |
|
34 |
| - <MenuItem Header="Copy Name" Command="{Binding Path=CopyNameCommand}"> |
| 42 | + <MenuItem |
| 43 | + Header="Copy Name" |
| 44 | + Command="{Binding Path=CopyNameCommand}"> |
35 | 45 | <MenuItem.Icon>
|
36 | 46 | <imaging:CrispImage Moniker="{x:Static catalog:KnownMonikers.Copy}" />
|
37 | 47 | </MenuItem.Icon>
|
|
71 | 81 | </MenuItem.Header>
|
72 | 82 | </MenuItem>
|
73 | 83 |
|
74 |
| - <MenuItem Header="Clear Bookmarks In Document" Command="{Binding Path=ClearBookmarksCommand}" |
| 84 | + <MenuItem |
| 85 | + Header="Clear Bookmarks In Document" |
| 86 | + Command="{Binding Path=ClearBookmarksCommand}" |
75 | 87 | IsEnabled="{Binding BookmarksAvailable}">
|
76 | 88 | <MenuItem.Icon>
|
77 | 89 | <imaging:CrispImage Moniker="{x:Static catalog:KnownMonikers.ClearBookmark}" />
|
|
81 | 93 | <MenuItem Header="Filter On Bookmarks" Command="{Binding Path=FilterBookmarksCommand}"
|
82 | 94 | IsCheckable="True"
|
83 | 95 | IsChecked="{Binding Path=FilterOnBookmarks}"
|
84 |
| - IsEnabled="{Binding Path=BookmarksAvailable}" /> |
| 96 | + IsEnabled="{Binding Path=BookmarksAvailable}"/> |
85 | 97 |
|
86 |
| - <MenuItem Header="Customize Bookmark Styles" Command="{Binding Path=CustomizeBookmarkStylesCommand}"> |
| 98 | + <MenuItem |
| 99 | + Header="Customize Bookmark Styles" |
| 100 | + Command="{Binding Path=CustomizeBookmarkStylesCommand}"> |
87 | 101 | <MenuItem.Icon>
|
88 | 102 | <imaging:CrispImage Moniker="{x:Static catalog:KnownMonikers.ColorPalette}" />
|
89 | 103 | </MenuItem.Icon>
|
90 | 104 | </MenuItem>
|
91 | 105 |
|
92 | 106 | <Separator />
|
93 | 107 |
|
94 |
| - <MenuItem Header="Refresh" Command="{Binding Path=RefreshCommand}"> |
| 108 | + <MenuItem |
| 109 | + Header="Refresh" |
| 110 | + Command="{Binding Path=RefreshCommand}"> |
95 | 111 | <MenuItem.Icon>
|
96 | 112 | <imaging:CrispImage Moniker="{x:Static catalog:KnownMonikers.Refresh}" />
|
97 | 113 | </MenuItem.Icon>
|
98 | 114 | </MenuItem>
|
99 | 115 |
|
100 | 116 | <Separator />
|
101 | 117 |
|
102 |
| - <MenuItem Header="Expand All" Command="{Binding Path=ExpandAllCommand}"> |
| 118 | + <MenuItem |
| 119 | + Header="Expand All" |
| 120 | + Command="{Binding Path=ExpandAllCommand}"> |
103 | 121 | <MenuItem.Icon>
|
104 | 122 | <imaging:CrispImage Moniker="{x:Static catalog:KnownMonikers.ExpandAll}" />
|
105 | 123 | </MenuItem.Icon>
|
106 | 124 | </MenuItem>
|
107 | 125 |
|
108 |
| - <MenuItem Header="Collapse All" Command="{Binding Path=CollapseAllCommand}"> |
| 126 | + <MenuItem |
| 127 | + Header="Collapse All" |
| 128 | + Command="{Binding Path=CollapseAllCommand}"> |
109 | 129 | <MenuItem.Icon>
|
110 | 130 | <imaging:CrispImage Moniker="{x:Static catalog:KnownMonikers.CollapseAll}" />
|
111 | 131 | </MenuItem.Icon>
|
112 | 132 | </MenuItem>
|
113 | 133 |
|
114 | 134 | <Separator />
|
115 | 135 |
|
116 |
| - <MenuItem Header="Clear History" Command="{Binding Path=ClearHistoryCommand}"> |
| 136 | + <MenuItem |
| 137 | + Header="Clear History" |
| 138 | + Command="{Binding Path=ClearHistoryCommand}"> |
117 | 139 | <MenuItem.Icon>
|
118 | 140 | <imaging:CrispImage Moniker="{x:Static catalog:KnownMonikers.CleanData}" />
|
119 | 141 | </MenuItem.Icon>
|
|
0 commit comments