Skip to content

Commit

Permalink
Make sure results list respects the virtualization setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillOsenkov committed Nov 9, 2020
1 parent 1d2be06 commit 4b307e4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ public SearchAndResultsControl()
InitializeComponent();
typingConcurrentOperation.DisplayResults += (r, moreAvailable) => DisplaySearchResults(r, moreAvailable);
typingConcurrentOperation.SearchComplete += TypingConcurrentOperation_SearchComplete;

VirtualizingPanel.SetIsVirtualizing(resultsList, SettingsService.EnableTreeViewVirtualization);
}

private void TypingConcurrentOperation_SearchComplete(string searchText, object arg2, TimeSpan elapsed)
Expand Down

0 comments on commit 4b307e4

Please sign in to comment.