diff --git a/Control/UserControls/PannelCard/RightCardControl.xaml b/Control/UserControls/PannelCard/RightCardControl.xaml index e55d4cc..685bfbf 100644 --- a/Control/UserControls/PannelCard/RightCardControl.xaml +++ b/Control/UserControls/PannelCard/RightCardControl.xaml @@ -175,43 +175,44 @@ VirtualizingPanel.IsVirtualizing="True" VirtualizingPanel.IsContainerVirtualizable="True" > - - + + - - - + + + - - - - - - - - - - + + + + + + + + + + - - - + + + - - - + + - - + + - - - + + - - + - - - - - - + + + + + + diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 4d9acb1..ed7c425 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -74,6 +74,7 @@ namespace GeekDesk private void SearchBox_TextChanged(object sender, TextChangedEventArgs e) { string inputText = SearchBox.Text.ToLower(); + RightCard.VerticalUFG.Visibility = Visibility.Collapsed; if (!string.IsNullOrEmpty(inputText)) { SearchIconList.IconList.Clear(); @@ -95,6 +96,7 @@ namespace GeekDesk { SearchIconList.IconList.Clear(); } + RightCard.VerticalUFG.Visibility = Visibility.Visible; } public void HidedSearchBox()