|
8 | 8 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
9 | 9 | xmlns:datamodels="using:Files.App.Data.Models" |
10 | 10 | xmlns:helpers="using:Files.App.Helpers" |
11 | | - xmlns:local="using:Files.App.UserControls.Settings" |
12 | 11 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
13 | 12 | xmlns:vm="using:Files.App.ViewModels.Settings" |
| 13 | + xmlns:wctcontrols="using:CommunityToolkit.WinUI.Controls" |
14 | 14 | xmlns:wctconverters="using:CommunityToolkit.WinUI.Converters" |
15 | 15 | mc:Ignorable="d"> |
16 | 16 |
|
|
47 | 47 | Text="{helpers:ResourceString Name=FileTags}" /> |
48 | 48 |
|
49 | 49 | <!-- Edit Tags --> |
50 | | - <local:SettingsBlockControl |
51 | | - Title="{helpers:ResourceString Name=FileTags}" |
| 50 | + <wctcontrols:SettingsExpander |
52 | 51 | HorizontalAlignment="Stretch" |
| 52 | + Header="{helpers:ResourceString Name=FileTags}" |
53 | 53 | IsExpanded="True"> |
54 | | - <local:SettingsBlockControl.Icon> |
| 54 | + <wctcontrols:SettingsExpander.HeaderIcon> |
55 | 55 | <FontIcon Glyph="" /> |
56 | | - </local:SettingsBlockControl.Icon> |
| 56 | + </wctcontrols:SettingsExpander.HeaderIcon> |
57 | 57 |
|
58 | 58 | <Button Command="{x:Bind ViewModel.AddTagCommand, Mode=OneWay}" Content="{helpers:ResourceString Name=NewTag}" /> |
59 | | - <local:SettingsBlockControl.ExpandableContent> |
| 59 | + <wctcontrols:SettingsExpander.Items> |
60 | 60 | <StackPanel> |
61 | 61 | <!-- Create new tag --> |
62 | 62 | <Grid |
|
343 | 343 | </ListView.ItemTemplate> |
344 | 344 | </ListView> |
345 | 345 | </StackPanel> |
346 | | - </local:SettingsBlockControl.ExpandableContent> |
347 | | - </local:SettingsBlockControl> |
| 346 | + </wctcontrols:SettingsExpander.Items> |
| 347 | + </wctcontrols:SettingsExpander> |
348 | 348 | </StackPanel> |
349 | 349 | </Grid> |
350 | 350 | </Page> |
0 commit comments