|
198 | 198 | Canvas.ZIndex="0" |
199 | 199 | EmptyTextType="{x:Bind ParentShellPageInstance.FilesystemViewModel.EmptyTextType, Mode=OneWay}" /> |
200 | 200 |
|
201 | | - <TeachingTip |
| 201 | + <Border> |
| 202 | + <StackPanel |
| 203 | + x:Name="SearchUnindexedItemsPanel" |
| 204 | + HorizontalAlignment="Center" |
| 205 | + VerticalAlignment="Bottom" |
| 206 | + x:Load="{x:Bind InstanceViewModel.ShowSearchUnindexedItemsMessage, Mode=OneWay}" |
| 207 | + Orientation="Vertical"> |
| 208 | + <TextBlock Visibility="Visible" Text="{helpers:ResourceString Name=SearchUnindexedItemsLabel/Text}" /> |
| 209 | + <HyperlinkButton |
| 210 | + x:Name="SearchUnindexedItemsButton" |
| 211 | + Visibility="Visible" |
| 212 | + Command="{x:Bind CommandsViewModel.SearchUnindexedItems}" |
| 213 | + Content="{helpers:ResourceString Name=SearchUnindexedItemsButton/Content}" /> |
| 214 | + </StackPanel> |
| 215 | + </Border> |
| 216 | + |
| 217 | + |
| 218 | + <TeachingTip |
202 | 219 | x:Name="FileNameTeachingTip" |
203 | 220 | CloseButtonContent="{helpers:ResourceString Name=FileNameTeachingTip/CloseButtonContent}" |
204 | 221 | PreferredPlacement="Auto" |
|
911 | 928 | <Setter Property="Height" Value="{ThemeResource ListItemHeight}" /> |
912 | 929 | </Style> |
913 | 930 | </ListView.ItemContainerStyle> |
914 | | - <ListView.ItemsPanel> |
915 | | - <ItemsPanelTemplate> |
916 | | - <ItemsStackPanel AreStickyGroupHeadersEnabled="False" Orientation="Vertical" /> |
917 | | - </ItemsPanelTemplate> |
918 | | - </ListView.ItemsPanel> |
919 | | - <ListView.Footer> |
920 | | - <StackPanel |
921 | | - x:Name="SearchUnindexedItemsPanel" |
922 | | - HorizontalAlignment="Stretch" |
923 | | - x:Load="{x:Bind InstanceViewModel.ShowSearchUnindexedItemsMessage, Mode=OneWay}" |
924 | | - Orientation="Vertical"> |
925 | | - <TextBlock Visibility="Collapsed" Text="{helpers:ResourceString Name=SearchUnindexedItemsLabel/Text}" /> |
926 | | - <HyperlinkButton |
927 | | - x:Name="SearchUnindexedItemsButton" |
928 | | - Visibility="Collapsed" |
929 | | - Command="{x:Bind CommandsViewModel.SearchUnindexedItems}" |
930 | | - Content="{helpers:ResourceString Name=SearchUnindexedItemsButton/Content}" /> |
931 | | - </StackPanel> |
932 | | - </ListView.Footer> |
933 | | - </ListView> |
| 931 | + <ListView.ItemsPanel> |
| 932 | + <ItemsPanelTemplate> |
| 933 | + <ItemsStackPanel AreStickyGroupHeadersEnabled="False" Orientation="Vertical" /> |
| 934 | + </ItemsPanelTemplate> |
| 935 | + </ListView.ItemsPanel> |
| 936 | + </ListView> |
934 | 937 | </SemanticZoom.ZoomedInView> |
935 | 938 |
|
936 | 939 | <SemanticZoom.ZoomedOutView> |
|
0 commit comments