|
101 | 101 | </wctcontrols:SettingsCard.HeaderIcon> |
102 | 102 | <uc:ComboBoxEx |
103 | 103 | x:Name="ThemeChooser" |
104 | | - AutomationProperties.Name="{helpers:ResourceString Name=SettingsAppearanceTheme}" |
| 104 | + AutomationProperties.AutomationControlType="Custom" |
105 | 105 | ItemsSource="{x:Bind ViewModel.Themes, Mode=OneWay}" |
106 | 106 | SelectedIndex="{x:Bind ViewModel.SelectedThemeIndex, Mode=TwoWay}" /> |
107 | 107 | </wctcontrols:SettingsCard> |
|
112 | 112 | <FontIcon Glyph="" /> |
113 | 113 | </wctcontrols:SettingsCard.HeaderIcon> |
114 | 114 | <uc:ComboBoxEx |
115 | | - AutomationProperties.Name="{helpers:ResourceString Name=BackdropMaterial}" |
| 115 | + AutomationProperties.AutomationControlType="Custom" |
116 | 116 | ItemsSource="{x:Bind ViewModel.BackdropMaterialTypes.Values}" |
117 | 117 | SelectedItem="{x:Bind ViewModel.SelectedBackdropMaterial, Mode=TwoWay}" /> |
118 | 118 | </wctcontrols:SettingsCard> |
|
125 | 125 | <wctcontrols:SettingsExpander.HeaderIcon> |
126 | 126 | <FontIcon Glyph="" /> |
127 | 127 | </wctcontrols:SettingsExpander.HeaderIcon> |
128 | | - <Button Padding="0" AutomationProperties.Name="{helpers:ResourceString Name=BackgroundColor}"> |
| 128 | + <Button Padding="0" AutomationProperties.AutomationControlType="Custom"> |
129 | 129 | <StackPanel Orientation="Horizontal"> |
130 | 130 | <Border |
131 | 131 | Width="24" |
|
193 | 193 | <Slider |
194 | 194 | Width="140" |
195 | 195 | HorizontalAlignment="Right" |
196 | | - AutomationProperties.Name="{helpers:ResourceString Name=Opacity}" |
| 196 | + AutomationProperties.AutomationControlType="Custom" |
197 | 197 | IsThumbToolTipEnabled="False" |
198 | 198 | Maximum="1" |
199 | 199 | Minimum=".1" |
|
205 | 205 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ImageFit}"> |
206 | 206 | <uc:ComboBoxEx |
207 | 207 | MinWidth="140" |
208 | | - AutomationProperties.Name="{helpers:ResourceString Name=ImageFit}" |
| 208 | + AutomationProperties.AutomationControlType="Custom" |
209 | 209 | ItemsSource="{x:Bind ViewModel.ImageStretchTypes.Values}" |
210 | 210 | SelectedItem="{x:Bind ViewModel.SelectedImageStretchType, Mode=TwoWay}" /> |
211 | 211 | </wctcontrols:SettingsCard> |
|
214 | 214 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=VerticalAlignment}"> |
215 | 215 | <uc:ComboBoxEx |
216 | 216 | MinWidth="140" |
217 | | - AutomationProperties.Name="{helpers:ResourceString Name=VerticalAlignment}" |
| 217 | + AutomationProperties.AutomationControlType="Custom" |
218 | 218 | ItemsSource="{x:Bind ViewModel.ImageVerticalAlignmentTypes.Values}" |
219 | 219 | SelectedItem="{x:Bind ViewModel.SelectedImageVerticalAlignmentType, Mode=TwoWay}" /> |
220 | 220 | </wctcontrols:SettingsCard> |
|
223 | 223 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=HorizontalAlignment}"> |
224 | 224 | <uc:ComboBoxEx |
225 | 225 | MinWidth="140" |
226 | | - AutomationProperties.Name="{helpers:ResourceString Name=HorizontalAlignment}" |
| 226 | + AutomationProperties.AutomationControlType="Custom" |
227 | 227 | ItemsSource="{x:Bind ViewModel.ImageHorizontalAlignmentTypes.Values}" |
228 | 228 | SelectedItem="{x:Bind ViewModel.SelectedImageHorizontalAlignmentType, Mode=TwoWay}" /> |
229 | 229 | </wctcontrols:SettingsCard> |
|
262 | 262 | x:Name="ShowShelfPaneSetting" |
263 | 263 | Header="{helpers:ResourceString Name=ShowShelfPaneButtonInAddressBar}" |
264 | 264 | Visibility="{x:Bind ViewModel.IsAppEnvironmentDev, Mode=OneTime}"> |
265 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=ShowShelfPaneButtonInAddressBar}" IsOn="{x:Bind ViewModel.ShowShelfPaneToggleButton, Mode=TwoWay}" /> |
| 265 | + <ToggleSwitch AutomationProperties.AutomationControlType="Custom" IsOn="{x:Bind ViewModel.ShowShelfPaneToggleButton, Mode=TwoWay}" /> |
266 | 266 | </wctcontrols:SettingsCard> |
267 | 267 |
|
268 | 268 | <!-- Show toolbar --> |
269 | 269 | <wctcontrols:SettingsCard Header="{helpers:ResourceString Name=ShowToolbar}"> |
270 | | - <ToggleSwitch AutomationProperties.Name="{helpers:ResourceString Name=ShowToolbar}" IsOn="{x:Bind ViewModel.ShowToolbar, Mode=TwoWay}" /> |
| 270 | + <ToggleSwitch AutomationProperties.AutomationControlType="Custom" IsOn="{x:Bind ViewModel.ShowToolbar, Mode=TwoWay}" /> |
271 | 271 | </wctcontrols:SettingsCard> |
272 | 272 | </wctcontrols:SettingsExpander.Items> |
273 | 273 | </wctcontrols:SettingsExpander> |
|
0 commit comments