|
15 | 15 | NavigationCacheMode="Required" |
16 | 16 | PointerReleased="GenericItemView_PointerReleased" |
17 | 17 | mc:Ignorable="d"> |
| 18 | + |
18 | 19 | <local:BaseLayout.Resources> |
| 20 | + |
19 | 21 | <MenuFlyout x:Key="BaseLayoutContextFlyout"> |
| 22 | + |
20 | 23 | <MenuFlyoutSubItem x:Name="SortByEmptySpace" Text="Sort by"> |
21 | 24 | <MenuFlyoutSubItem.Icon> |
22 | 25 | <FontIcon Glyph="" /> |
23 | 26 | </MenuFlyoutSubItem.Icon> |
| 27 | + |
24 | 28 | <muxc:RadioMenuFlyoutItem |
25 | 29 | GroupName="SortGroup" |
26 | 30 | IsChecked="{x:Bind AssociatedViewModel.IsSortedByName, Mode=TwoWay}" |
|
47 | 51 | IsChecked="{x:Bind AssociatedViewModel.IsSortedDescending, Mode=TwoWay}" |
48 | 52 | Text="Descending" /> |
49 | 53 | </MenuFlyoutSubItem> |
| 54 | + |
50 | 55 | <MenuFlyoutItem |
51 | 56 | x:Name="RefreshEmptySpace" |
52 | 57 | Click="{x:Bind local:NavigationActions.Refresh_Click}" |
|
55 | 60 | <FontIcon Glyph="" /> |
56 | 61 | </MenuFlyoutItem.Icon> |
57 | 62 | </MenuFlyoutItem> |
| 63 | + |
58 | 64 | <MenuFlyoutSeparator /> |
| 65 | + |
59 | 66 | <MenuFlyoutItem |
60 | 67 | x:Name="PasteEmptySpace" |
61 | 68 | Click="{x:Bind AssociatedInteractions.PasteItem_ClickAsync}" |
|
65 | 72 | <FontIcon Glyph="" /> |
66 | 73 | </MenuFlyoutItem.Icon> |
67 | 74 | </MenuFlyoutItem> |
| 75 | + |
68 | 76 | <MenuFlyoutSeparator /> |
| 77 | + |
69 | 78 | <MenuFlyoutItem |
70 | 79 | x:Name="OpenTerminal" |
71 | 80 | Click="{x:Bind AssociatedInteractions.OpenDirectoryInTerminal}" |
|
75 | 84 | <FontIcon Glyph="" /> |
76 | 85 | </MenuFlyoutItem.Icon> |
77 | 86 | </MenuFlyoutItem> |
| 87 | + |
78 | 88 | <MenuFlyoutSeparator /> |
| 89 | + |
79 | 90 | <MenuFlyoutSubItem x:Name="NewEmptySpace" Text="New"> |
80 | 91 | <MenuFlyoutSubItem.Icon> |
81 | 92 | <FontIcon Glyph="" /> |
82 | 93 | </MenuFlyoutSubItem.Icon> |
| 94 | + |
83 | 95 | <MenuFlyoutItem |
84 | 96 | x:Name="NewFolder" |
85 | 97 | Click="{x:Bind AssociatedInteractions.NewFolder_Click}" |
|
88 | 100 | <FontIcon Glyph="" /> |
89 | 101 | </MenuFlyoutItem.Icon> |
90 | 102 | </MenuFlyoutItem> |
| 103 | + |
91 | 104 | <MenuFlyoutSeparator /> |
| 105 | + |
92 | 106 | <MenuFlyoutItem |
93 | 107 | x:Name="NewBitmapImage" |
94 | 108 | Click="{x:Bind AssociatedInteractions.NewBitmapImage_Click}" |
|
97 | 111 | <FontIcon Glyph="" /> |
98 | 112 | </MenuFlyoutItem.Icon> |
99 | 113 | </MenuFlyoutItem> |
| 114 | + |
100 | 115 | <MenuFlyoutItem |
101 | 116 | x:Name="NewTextDocument" |
102 | 117 | Click="{x:Bind AssociatedInteractions.NewTextDocument_Click}" |
|
105 | 120 | <FontIcon Glyph="" /> |
106 | 121 | </MenuFlyoutItem.Icon> |
107 | 122 | </MenuFlyoutItem> |
| 123 | + |
108 | 124 | </MenuFlyoutSubItem> |
| 125 | + |
109 | 126 | <MenuFlyoutSeparator /> |
| 127 | + |
110 | 128 | <MenuFlyoutItem |
111 | 129 | x:Name="PropertiesFolder" |
112 | 130 | Click="{x:Bind AssociatedInteractions.ShowFolderPropertiesButton_Click}" |
|
115 | 133 | <FontIcon Glyph="" /> |
116 | 134 | </MenuFlyoutItem.Icon> |
117 | 135 | </MenuFlyoutItem> |
| 136 | + |
118 | 137 | </MenuFlyout> |
119 | 138 |
|
| 139 | + |
120 | 140 | <MenuFlyout x:Key="BaseLayoutItemContextFlyout" Opening="RightClickContextMenu_Opening"> |
121 | 141 | <MenuFlyoutItem |
122 | 142 | x:Name="UnzipItem" |
|
128 | 148 | <FontIcon Glyph="" /> |
129 | 149 | </MenuFlyoutItem.Icon> |
130 | 150 | </MenuFlyoutItem> |
| 151 | + |
131 | 152 | <MenuFlyoutItem |
132 | 153 | x:Name="OpenItem" |
133 | 154 | x:Load="False" |
|
138 | 159 | <FontIcon Glyph="" /> |
139 | 160 | </MenuFlyoutItem.Icon> |
140 | 161 | </MenuFlyoutItem> |
| 162 | + |
141 | 163 | <MenuFlyoutItem |
142 | 164 | x:Name="OpenInNewTab" |
143 | 165 | x:Load="False" |
|
148 | 170 | <FontIcon Glyph="" /> |
149 | 171 | </MenuFlyoutItem.Icon> |
150 | 172 | </MenuFlyoutItem> |
| 173 | + |
151 | 174 | <MenuFlyoutItem |
152 | 175 | x:Name="OpenInNewWindowItem" |
153 | 176 | x:Load="False" |
|
158 | 181 | <FontIcon Glyph="" /> |
159 | 182 | </MenuFlyoutItem.Icon> |
160 | 183 | </MenuFlyoutItem> |
| 184 | + |
161 | 185 | <MenuFlyoutItem |
162 | 186 | x:Name="ShareItem" |
163 | 187 | Click="{x:Bind AssociatedInteractions.ShareItem_Click}" |
|
166 | 190 | <FontIcon Glyph="" /> |
167 | 191 | </MenuFlyoutItem.Icon> |
168 | 192 | </MenuFlyoutItem> |
| 193 | + |
169 | 194 | <MenuFlyoutSeparator /> |
| 195 | + |
170 | 196 | <MenuFlyoutItem |
171 | 197 | x:Name="CutItem" |
172 | 198 | Click="{x:Bind AssociatedInteractions.CutItem_Click}" |
|
175 | 201 | <FontIcon Glyph="" /> |
176 | 202 | </MenuFlyoutItem.Icon> |
177 | 203 | </MenuFlyoutItem> |
| 204 | + |
178 | 205 | <MenuFlyoutItem |
179 | 206 | x:Name="CopyItem" |
180 | 207 | Click="{x:Bind AssociatedInteractions.CopyItem_ClickAsync}" |
|
183 | 210 | <FontIcon Glyph="" /> |
184 | 211 | </MenuFlyoutItem.Icon> |
185 | 212 | </MenuFlyoutItem> |
| 213 | + |
186 | 214 | <MenuFlyoutSeparator /> |
| 215 | + |
187 | 216 | <MenuFlyoutItem |
188 | 217 | x:Name="DeleteItem" |
189 | 218 | Click="{x:Bind AssociatedInteractions.DeleteItem_Click}" |
|
192 | 221 | <FontIcon Glyph="" /> |
193 | 222 | </MenuFlyoutItem.Icon> |
194 | 223 | </MenuFlyoutItem> |
| 224 | + |
195 | 225 | <MenuFlyoutItem |
196 | 226 | x:Name="RenameItem" |
197 | 227 | Click="{x:Bind AssociatedInteractions.RenameItem_Click}" |
|
200 | 230 | <FontIcon Glyph="" /> |
201 | 231 | </MenuFlyoutItem.Icon> |
202 | 232 | </MenuFlyoutItem> |
| 233 | + |
203 | 234 | <MenuFlyoutSeparator /> |
| 235 | + |
204 | 236 | <MenuFlyoutItem |
205 | 237 | x:Name="SidebarPinItem" |
206 | 238 | x:Load="False" |
|
211 | 243 | <SymbolIcon Symbol="Pin" /> |
212 | 244 | </MenuFlyoutItem.Icon> |
213 | 245 | </MenuFlyoutItem> |
| 246 | + |
214 | 247 | <MenuFlyoutItem |
215 | 248 | x:Name="PropertiesItem" |
216 | 249 | Click="{x:Bind AssociatedInteractions.ShowPropertiesButton_Click}" |
|
219 | 252 | <FontIcon Glyph="" /> |
220 | 253 | </MenuFlyoutItem.Icon> |
221 | 254 | </MenuFlyoutItem> |
| 255 | + |
222 | 256 | <MenuFlyoutItem |
223 | 257 | x:Name="QuickLook" |
224 | 258 | Click="{x:Bind AssociatedInteractions.ToggleQuickLook_Click}" |
|
228 | 262 | <BitmapIcon UriSource="ms-appx:///Assets/QuickLook/quicklook_icon_black.png" /> |
229 | 263 | </MenuFlyoutItem.Icon> |
230 | 264 | </MenuFlyoutItem> |
| 265 | + |
231 | 266 | </MenuFlyout> |
232 | 267 | </local:BaseLayout.Resources> |
| 268 | + |
233 | 269 | <Grid |
234 | 270 | x:Name="RootGrid" |
235 | 271 | Background="Transparent" |
|
254 | 290 | Text="This folder is empty." |
255 | 291 | TextWrapping="Wrap" |
256 | 292 | Visibility="{x:Bind AssociatedViewModel.EmptyTextState.isVisible, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> |
| 293 | + |
257 | 294 | <controls:DataGrid |
258 | 295 | x:Name="AllView" |
259 | 296 | Grid.Row="3" |
|
0 commit comments