Skip to content

Commit ef7b07a

Browse files
committed
Test
1 parent be2c577 commit ef7b07a

File tree

8 files changed

+23
-14
lines changed

8 files changed

+23
-14
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
</wctcontrols:SettingsCard>
102102

103103
<!-- Feedback -->
104-
<wctcontrols:SettingsExpander HorizontalAlignment="Stretch" Header="{helpers:ResourceString Name=Feedback}">
104+
<wctcontrols:SettingsExpander AutomationProperties.AutomationControlType="Custom" Header="{helpers:ResourceString Name=Feedback}">
105105
<wctcontrols:SettingsExpander.HeaderIcon>
106106
<FontIcon Glyph="&#xED15;" />
107107
</wctcontrols:SettingsExpander.HeaderIcon>
@@ -169,7 +169,7 @@
169169
</wctcontrols:SettingsCard>
170170

171171
<!-- Third Party Licenses -->
172-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=ThirdPartyLibraries}">
172+
<wctcontrols:SettingsExpander AutomationProperties.AutomationControlType="Custom" Header="{helpers:ResourceString Name=ThirdPartyLibraries}">
173173
<wctcontrols:SettingsExpander.HeaderIcon>
174174
<FontIcon Glyph="&#xE90F;" />
175175
</wctcontrols:SettingsExpander.HeaderIcon>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
<wctcontrols:SettingsCard
132132
x:Name="SetAsDefaultSettingsBlockControl"
133133
HorizontalAlignment="Stretch"
134+
AutomationProperties.AutomationControlType="Custom"
134135
Description="{helpers:ResourceString Name=SettingsSetAsDefaultFileManagerDescription}"
135136
Header="{helpers:ResourceString Name=SettingsSetAsDefaultFileManager}">
136137
<wctcontrols:SettingsCard.HeaderIcon>

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/FoldersPage.xaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
Text="{helpers:ResourceString Name=Display}" />
3737

3838
<!-- Hidden Items -->
39-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=HiddenItems}">
39+
<wctcontrols:SettingsExpander AutomationProperties.AutomationControlType="Custom" Header="{helpers:ResourceString Name=HiddenItems}">
4040
<wctcontrols:SettingsExpander.HeaderIcon>
4141
<FontIcon Glyph="&#xED1A;" />
4242
</wctcontrols:SettingsExpander.HeaderIcon>
@@ -95,7 +95,7 @@
9595
Text="{helpers:ResourceString Name=Behaviors}" />
9696

9797
<!-- Opening items -->
98-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=OpeningItems}">
98+
<wctcontrols:SettingsExpander AutomationProperties.AutomationControlType="Custom" Header="{helpers:ResourceString Name=OpeningItems}">
9999
<wctcontrols:SettingsExpander.HeaderIcon>
100100
<FontIcon Glyph="&#xED25;" />
101101
</wctcontrols:SettingsExpander.HeaderIcon>
@@ -167,7 +167,10 @@
167167
</wctcontrols:SettingsCard>
168168

169169
<!-- Calculate folder sizes -->
170-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=CalculateFolderSizes}" IsExpanded="True">
170+
<wctcontrols:SettingsExpander
171+
AutomationProperties.AutomationControlType="Custom"
172+
Header="{helpers:ResourceString Name=CalculateFolderSizes}"
173+
IsExpanded="True">
171174
<wctcontrols:SettingsExpander.HeaderIcon>
172175
<FontIcon Glyph="&#xEE40;" />
173176
</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>

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@
4747
Text="{helpers:ResourceString Name=FileTags}" />
4848

4949
<!-- Edit Tags -->
50-
<wctcontrols:SettingsExpander Header="{helpers:ResourceString Name=FileTags}" IsExpanded="True">
50+
<wctcontrols:SettingsExpander
51+
AutomationProperties.AutomationControlType="Custom"
52+
Header="{helpers:ResourceString Name=FileTags}"
53+
IsExpanded="True">
5154
<wctcontrols:SettingsExpander.HeaderIcon>
5255
<FontIcon Glyph="&#xE8EC;" />
5356
</wctcontrols:SettingsExpander.HeaderIcon>

0 commit comments

Comments
 (0)