File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33 xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44 xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml"
55 xmlns:animatedvisuals=" using:Microsoft.UI.Xaml.Controls.AnimatedVisuals"
6+ xmlns:converters=" using:CommunityToolkit.WinUI.UI.Converters"
67 xmlns:d=" http://schemas.microsoft.com/expression/blend/2008"
7- xmlns:converters=" using:Files.App.Converters"
88 xmlns:fs=" using:Files.App.Filesystem"
99 xmlns:helpers=" using:Files.App.Helpers"
1010 xmlns:mc=" http://schemas.openxmlformats.org/markup-compatibility/2006"
1414
1515 <UserControl .Resources>
1616
17+ <converters : BoolToObjectConverter
18+ x:Key=" ListedItemGlyphConverter"
19+ FalseValue="  "
20+ TrueValue="  " />
21+
1722 <Style
1823 x:Key=" TextBoxStyle"
1924 BasedOn=" {StaticResource AutoSuggestBoxTextBoxStyle}"
5661 Source=" {x:Bind FileImage, Mode=OneWay}"
5762 Stretch=" Uniform" />
5863 </Border >
64+ <!-- "\xE81C" is the glyph for Recent Searches, "\xE7C3" is the default glyph -->
5965 <FontIcon
6066 x:Name=" EmptyIconGlyph"
6167 x:Load=" {x:Bind NeedsPlaceholderGlyph, Mode=OneWay}"
62- Glyph=" {x:Bind converters:RecentFilesBoolToGlyph.Convert( IsRecentSearch) , Mode=OneTime}" />
68+ Glyph=" {x:Bind IsRecentSearch, Mode=OneTime, Converter={StaticResource ListedItemGlyphConverter} }" />
6369 </Grid >
6470 <TextBlock VerticalAlignment =" Center" Text =" {x:Bind ItemName}" />
6571 </StackPanel >
You can’t perform that action at this time.
0 commit comments