Exemplo n.º 1
0
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     lblNoResults.Visibility = Visibility.Collapsed;
     txtSearch.Text          = initialSearchText;
     ResultScroller.ScrollToHome();
     ShowWait(false);
 }
Exemplo n.º 2
0
        private void _player_SearchResult(object sender, List <SearchResult> result)
        {
            this.BeginDispatch(() =>
            {
                if (result.Count == 0)
                {
                    lblNoResults.Visibility = Visibility.Visible;
                }

                ResultItems.ItemsSource = result;
                ResultScroller.ScrollToHome();
                ShowWait(false);
            });
        }