|
38 | 38 | <uc:ComboBoxEx |
39 | 39 | x:Name="AppLanguagesComboBox" |
40 | 40 | HorizontalAlignment="Left" |
41 | | - AutomationProperties.Name="{helpers:ResourceString Name=Language}" |
42 | 41 | ItemsSource="{x:Bind ViewModel.AppLanguages}" |
43 | 42 | SelectedIndex="{x:Bind ViewModel.SelectedAppLanguageIndex, Mode=TwoWay}"> |
44 | 43 | <uc:ComboBoxEx.ItemTemplate> |
|
60 | 59 | <uc:ComboBoxEx |
61 | 60 | x:Name="DateFormatChooser" |
62 | 61 | Grid.Column="1" |
63 | | - AutomationProperties.Name="{helpers:ResourceString Name=DateFormat}" |
64 | 62 | ItemsSource="{x:Bind ViewModel.DateFormats}" |
65 | 63 | SelectedIndex="{x:Bind ViewModel.SelectedDateTimeFormatIndex, Mode=TwoWay}"> |
66 | 64 | <uc:ComboBoxEx.ItemTemplate> |
|
88 | 86 | <wctcontrols:SettingsExpander.HeaderIcon> |
89 | 87 | <FontIcon Glyph="" /> |
90 | 88 | </wctcontrols:SettingsExpander.HeaderIcon> |
91 | | - <uc:ComboBoxEx AutomationProperties.Name="{helpers:ResourceString Name=StartupSettings}" SelectedIndex="{x:Bind ViewModel.SelectedStartupSettingIndex, Mode=OneWay}"> |
| 89 | + <uc:ComboBoxEx SelectedIndex="{x:Bind ViewModel.SelectedStartupSettingIndex, Mode=OneWay}"> |
92 | 90 | <ComboBoxItem Content="{helpers:ResourceString Name=SettingsOnStartupOpenANewTab/Content}" IsSelected="{x:Bind ViewModel.OpenNewTabPageOnStartup, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> |
93 | 91 |
|
94 | 92 | <ComboBoxItem Content="{helpers:ResourceString Name=SettingsOnStartupContinueWhereYouLeftOff/Content}" IsSelected="{x:Bind ViewModel.ContinueLastSessionOnStartUp, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" /> |
|
158 | 156 | ToolTipService.ToolTip="{x:Bind Text}" /> |
159 | 157 | <Button |
160 | 158 | HorizontalAlignment="Right" |
161 | | - AutomationProperties.Name="{helpers:ResourceString Name=Remove}" |
162 | 159 | Click="RemoveStartupPage" |
163 | 160 | ToolTipService.ToolTip="{helpers:ResourceString Name=Remove}"> |
164 | 161 | <FontIcon FontSize="16" Glyph="" /> |
|
170 | 167 | </Grid> |
171 | 168 |
|
172 | 169 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=OpenTabInExistingInstance}"> |
173 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=OpenTabInExistingInstance}" IsOn="{x:Bind ViewModel.OpenTabInExistingInstance, Mode=TwoWay}" /> |
| 170 | + <ToggleSwitch IsOn="{x:Bind ViewModel.OpenTabInExistingInstance, Mode=TwoWay}" /> |
174 | 171 | </wctcontrols:SettingsCard> |
175 | 172 | </wctcontrols:SettingsExpander.Items> |
176 | 173 | </wctcontrols:SettingsExpander> |
|
180 | 177 | <wctcontrols:SettingsExpander.HeaderIcon> |
181 | 178 | <FontIcon Glyph="" /> |
182 | 179 | </wctcontrols:SettingsExpander.HeaderIcon> |
183 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=SettingsMultitaskingAlwaysOpenDualPane}" IsOn="{x:Bind ViewModel.AlwaysOpenDualPaneInNewTab, Mode=TwoWay}" /> |
| 180 | + <ToggleSwitch IsOn="{x:Bind ViewModel.AlwaysOpenDualPaneInNewTab, Mode=TwoWay}" /> |
184 | 181 | <wctcontrols:SettingsExpander.Items> |
185 | 182 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=DefaultPaneArrangement}"> |
186 | | - <uc:ComboBoxEx |
187 | | - AutomationProperties.Name="{helpers:ResourceString Name=DefaultPaneArrangement}" |
188 | | - ItemsSource="{x:Bind ViewModel.ShellPaneArrangementTypes.Values}" |
189 | | - SelectedItem="{x:Bind ViewModel.SelectedShellPaneArrangementType, Mode=TwoWay}" /> |
| 183 | + <uc:ComboBoxEx ItemsSource="{x:Bind ViewModel.ShellPaneArrangementTypes.Values}" SelectedItem="{x:Bind ViewModel.SelectedShellPaneArrangementType, Mode=TwoWay}" /> |
190 | 184 | </wctcontrols:SettingsCard> |
191 | 185 | </wctcontrols:SettingsExpander.Items> |
192 | 186 | </wctcontrols:SettingsExpander> |
|
196 | 190 | <wctcontrols:SettingsCard.HeaderIcon> |
197 | 191 | <FontIcon Glyph="" /> |
198 | 192 | </wctcontrols:SettingsCard.HeaderIcon> |
199 | | - <ToggleSwitch |
200 | | - x:Name="AlwaysSwitchToNewlyOpenedTab" |
201 | | - AutomationProperties.Name="{helpers:ResourceString Name=AlwaysSwitchToNewlyOpenedTab}" |
202 | | - IsOn="{x:Bind ViewModel.AlwaysSwitchToNewlyOpenedTab, Mode=TwoWay}" /> |
| 193 | + <ToggleSwitch x:Name="AlwaysSwitchToNewlyOpenedTab" IsOn="{x:Bind ViewModel.AlwaysSwitchToNewlyOpenedTab, Mode=TwoWay}" /> |
203 | 194 | </wctcontrols:SettingsCard> |
204 | 195 |
|
205 | 196 | <!-- Widgets --> |
|
209 | 200 | </wctcontrols:SettingsExpander.HeaderIcon> |
210 | 201 | <wctcontrols:SettingsExpander.Items> |
211 | 202 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=QuickAccess}"> |
212 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=QuickAccess}" IsOn="{x:Bind ViewModel.ShowQuickAccessWidget, Mode=TwoWay}" /> |
| 203 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowQuickAccessWidget, Mode=TwoWay}" /> |
213 | 204 | </wctcontrols:SettingsCard> |
214 | 205 |
|
215 | 206 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=Drives}"> |
216 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=Drives}" IsOn="{x:Bind ViewModel.ShowDrivesWidget, Mode=TwoWay}" /> |
| 207 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowDrivesWidget, Mode=TwoWay}" /> |
217 | 208 | </wctcontrols:SettingsCard> |
218 | 209 |
|
219 | 210 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=NetworkLocations}"> |
220 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=NetworkLocations}" IsOn="{x:Bind ViewModel.ShowNetworkLocationsWidget, Mode=TwoWay}" /> |
| 211 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowNetworkLocationsWidget, Mode=TwoWay}" /> |
221 | 212 | </wctcontrols:SettingsCard> |
222 | 213 |
|
223 | 214 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=FileTags}"> |
224 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=FileTags}" IsOn="{x:Bind ViewModel.ShowFileTagsWidget, Mode=TwoWay}" /> |
| 215 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowFileTagsWidget, Mode=TwoWay}" /> |
225 | 216 | </wctcontrols:SettingsCard> |
226 | 217 |
|
227 | 218 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=RecentFiles}"> |
228 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=RecentFiles}" IsOn="{x:Bind ViewModel.ShowRecentFilesWidget, Mode=TwoWay}" /> |
| 219 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowRecentFilesWidget, Mode=TwoWay}" /> |
229 | 220 | </wctcontrols:SettingsCard> |
230 | 221 | </wctcontrols:SettingsExpander.Items> |
231 | 222 | </wctcontrols:SettingsExpander> |
|
246 | 237 | <wctcontrols:SettingsExpander.Items> |
247 | 238 | <!-- Open in new tab --> |
248 | 239 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ShowOpenInNewTab}"> |
249 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=ShowOpenInNewTab}" IsOn="{x:Bind ViewModel.ShowOpenInNewTab, Mode=TwoWay}" /> |
| 240 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowOpenInNewTab, Mode=TwoWay}" /> |
250 | 241 | </wctcontrols:SettingsCard> |
251 | 242 |
|
252 | 243 | <!-- Open in new window --> |
253 | 244 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ShowOpenInNewWindow}"> |
254 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=ShowOpenInNewWindow}" IsOn="{x:Bind ViewModel.ShowOpenInNewWindow, Mode=TwoWay}" /> |
| 245 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowOpenInNewWindow, Mode=TwoWay}" /> |
255 | 246 | </wctcontrols:SettingsCard> |
256 | 247 |
|
257 | 248 | <!-- Open in new pane --> |
258 | 249 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ShowOpenInNewPane}"> |
259 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=ShowOpenInNewPane}" IsOn="{x:Bind ViewModel.ShowOpenInNewPane, Mode=TwoWay}" /> |
| 250 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowOpenInNewPane, Mode=TwoWay}" /> |
260 | 251 | </wctcontrols:SettingsCard> |
261 | 252 |
|
262 | 253 | <!-- Copy path --> |
263 | 254 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ShowCopyPath}"> |
264 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=ShowCopyPath}" IsOn="{x:Bind ViewModel.ShowCopyPath, Mode=TwoWay}" /> |
| 255 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowCopyPath, Mode=TwoWay}" /> |
265 | 256 | </wctcontrols:SettingsCard> |
266 | 257 |
|
267 | 258 | <!-- Create folder with selection --> |
268 | 259 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ShowCreateFolderWithSelection}"> |
269 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=ShowCreateFolderWithSelection}" IsOn="{x:Bind ViewModel.ShowCreateFolderWithSelection, Mode=TwoWay}" /> |
| 260 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowCreateFolderWithSelection, Mode=TwoWay}" /> |
270 | 261 | </wctcontrols:SettingsCard> |
271 | 262 |
|
272 | 263 | <!-- Create alternate data stream --> |
273 | 264 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ShowCreateAlternateDataStream}"> |
274 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=ShowCreateAlternateDataStream}" IsOn="{x:Bind ViewModel.ShowCreateAlternateDataStream, Mode=TwoWay}" /> |
| 265 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowCreateAlternateDataStream, Mode=TwoWay}" /> |
275 | 266 | </wctcontrols:SettingsCard> |
276 | 267 |
|
277 | 268 | <!-- Create shortcut --> |
278 | 269 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ShowCreateShortcut}"> |
279 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=ShowCreateShortcut}" IsOn="{x:Bind ViewModel.ShowCreateShortcut, Mode=TwoWay}" /> |
| 270 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowCreateShortcut, Mode=TwoWay}" /> |
280 | 271 | </wctcontrols:SettingsCard> |
281 | 272 |
|
282 | 273 | <!-- Compression options --> |
283 | 274 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ShowCompressionOptions}"> |
284 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=ShowCompressionOptions}" IsOn="{x:Bind ViewModel.ShowCompressionOptions, Mode=TwoWay}" /> |
| 275 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowCompressionOptions, Mode=TwoWay}" /> |
285 | 276 | </wctcontrols:SettingsCard> |
286 | 277 |
|
287 | 278 | <!-- Flatten options --> |
288 | 279 | <!-- TODO uncomment code when feature is marked as stable --> |
289 | 280 | <!--<wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ShowFlattenOptions}"> |
290 | 281 | <ToggleSwitch |
291 | | - AutomationProperties.Name="{helpers:ResourceString Name=ShowFlattenOptions}" |
292 | 282 | IsOn="{x:Bind ViewModel.ShowFlattenOptions, Mode=TwoWay}" |
293 | 283 | /> |
294 | 284 | </wctcontrols:SettingsCard>--> |
295 | 285 |
|
296 | 286 | <!-- Send To --> |
297 | 287 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ShowSendToMenu}"> |
298 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=ShowSendToMenu}" IsOn="{x:Bind ViewModel.ShowSendToMenu, Mode=TwoWay}" /> |
| 288 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowSendToMenu, Mode=TwoWay}" /> |
299 | 289 | </wctcontrols:SettingsCard> |
300 | 290 |
|
301 | 291 | <!-- Edit tags --> |
302 | 292 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ShowEditTagsMenu}"> |
303 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=ShowEditTagsMenu}" IsOn="{x:Bind ViewModel.ShowEditTagsMenu, Mode=TwoWay}" /> |
| 293 | + <ToggleSwitch IsOn="{x:Bind ViewModel.ShowEditTagsMenu, Mode=TwoWay}" /> |
304 | 294 | </wctcontrols:SettingsCard> |
305 | 295 | </wctcontrols:SettingsExpander.Items> |
306 | 296 | </wctcontrols:SettingsExpander> |
|
311 | 301 | <wctcontrols:SettingsCard.HeaderIcon> |
312 | 302 | <FontIcon Glyph="" /> |
313 | 303 | </wctcontrols:SettingsCard.HeaderIcon> |
314 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=SettingsContextMenuOverflow}" IsOn="{x:Bind ViewModel.MoveShellExtensionsToSubMenu, Mode=TwoWay}" /> |
| 304 | + <ToggleSwitch IsOn="{x:Bind ViewModel.MoveShellExtensionsToSubMenu, Mode=TwoWay}" /> |
315 | 305 | </wctcontrols:SettingsCard> |
316 | 306 | </StackPanel> |
317 | 307 |
|
|
0 commit comments