Skip to content

Commit 3cadcbd

Browse files
committed
Test
1 parent be2c577 commit 3cadcbd

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

src/Files.App/Views/Settings/AppearancePage.xaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
<!-- App Background -->
121121
<wctcontrols:SettingsExpander
122122
HorizontalAlignment="Stretch"
123+
AutomationProperties.AutomationControlType="Custom"
123124
Header="{helpers:ResourceString Name=BackgroundColor}"
124125
IsExpanded="True">
125126
<wctcontrols:SettingsExpander.HeaderIcon>
@@ -165,6 +166,7 @@
165166
<!-- App Background Image -->
166167
<wctcontrols:SettingsExpander
167168
HorizontalAlignment="Stretch"
169+
AutomationProperties.AutomationControlType="Custom"
168170
Description="{x:Bind ViewModel.AppThemeBackgroundImageSource, Mode=OneWay}"
169171
Header="{helpers:ResourceString Name=BackgroundImage}"
170172
IsExpanded="False">
@@ -243,7 +245,7 @@
243245
</wctcontrols:SettingsCard>
244246

245247
<!-- Toolbar -->
246-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=Toolbars}">
248+
<wctcontrols:SettingsExpander AutomationProperties.AutomationControlType="Custom" Header="{helpers:ResourceString Name=Toolbars}">
247249
<wctcontrols:SettingsExpander.HeaderIcon>
248250
<PathIcon Data="{StaticResource App.Theme.PathIcon.WebAsset}" />
249251
</wctcontrols:SettingsExpander.HeaderIcon>

src/Files.App/Views/Settings/DevToolsPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
Text="{helpers:ResourceString Name=DevTools}" />
4747

4848
<!-- Display Open IDE status bar button -->
49-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=DisplayOpenIDE}">
49+
<wctcontrols:SettingsExpander AutomationProperties.AutomationControlType="Custom" Header="{helpers:ResourceString Name=DisplayOpenIDE}">
5050
<wctcontrols:SettingsExpander.HeaderIcon>
5151
<FontIcon Glyph="&#xE7AC;" />
5252
</wctcontrols:SettingsExpander.HeaderIcon>

src/Files.App/Views/Settings/GeneralPage.xaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
</wctcontrols:SettingsCard>
8585

8686
<!-- Startup settings -->
87-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=StartupSettings}">
87+
<wctcontrols:SettingsExpander AutomationProperties.AutomationControlType="Custom" Header="{helpers:ResourceString Name=StartupSettings}">
8888
<wctcontrols:SettingsExpander.HeaderIcon>
8989
<FontIcon Glyph="&#xE7E8;" />
9090
</wctcontrols:SettingsExpander.HeaderIcon>
@@ -176,7 +176,7 @@
176176
</wctcontrols:SettingsExpander>
177177

178178
<!-- Dual Pane -->
179-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=SettingsMultitaskingAlwaysOpenDualPane}">
179+
<wctcontrols:SettingsExpander AutomationProperties.AutomationControlType="Custom" Header="{helpers:ResourceString Name=SettingsMultitaskingAlwaysOpenDualPane}">
180180
<wctcontrols:SettingsExpander.HeaderIcon>
181181
<FontIcon Glyph="&#xE89F;" />
182182
</wctcontrols:SettingsExpander.HeaderIcon>
@@ -203,7 +203,7 @@
203203
</wctcontrols:SettingsCard>
204204

205205
<!-- Widgets -->
206-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=Widgets}">
206+
<wctcontrols:SettingsExpander AutomationProperties.AutomationControlType="Custom" Header="{helpers:ResourceString Name=Widgets}">
207207
<wctcontrols:SettingsExpander.HeaderIcon>
208208
<FontIcon Glyph="&#xF246;" />
209209
</wctcontrols:SettingsExpander.HeaderIcon>
@@ -239,7 +239,7 @@
239239
Text="{helpers:ResourceString Name=SettingsContextMenu/Text}" />
240240

241241
<!-- Context menu options -->
242-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=ContextMenuOptions}">
242+
<wctcontrols:SettingsExpander AutomationProperties.AutomationControlType="Custom" Header="{helpers:ResourceString Name=ContextMenuOptions}">
243243
<wctcontrols:SettingsExpander.HeaderIcon>
244244
<FontIcon Glyph="&#xE74C;" />
245245
</wctcontrols:SettingsExpander.HeaderIcon>

src/Files.App/Views/Settings/LayoutPage.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
Text="{helpers:ResourceString Name=SortingAndGrouping}" />
7272

7373
<!-- Default sorting options -->
74-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=SortBy}">
74+
<wctcontrols:SettingsExpander AutomationProperties.AutomationControlType="Custom" Header="{helpers:ResourceString Name=SortBy}">
7575
<wctcontrols:SettingsExpander.HeaderIcon>
7676
<FontIcon Glyph="&#xE8CB;" />
7777
</wctcontrols:SettingsExpander.HeaderIcon>
@@ -147,7 +147,7 @@
147147
Text="{helpers:ResourceString Name=DetailsView}" />
148148

149149
<!-- Columns -->
150-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=Columns}">
150+
<wctcontrols:SettingsExpander AutomationProperties.AutomationControlType="Custom" Header="{helpers:ResourceString Name=Columns}">
151151
<wctcontrols:SettingsExpander.HeaderIcon>
152152
<FontIcon Glyph="&#xE71D;" />
153153
</wctcontrols:SettingsExpander.HeaderIcon>

0 commit comments

Comments
 (0)