示例#1
0
 internal void NotifyResultSelected(ResultBoxItem resultBoxItem)
 {
     if (this.SearchSelection != null)
     {
         this.SearchSelection.Invoke(this, new SearchSelectionEventArgs(this.ItemContainerGenerator.ItemFromContainer(resultBoxItem)));
     }
 }
示例#2
0
 internal void NotifyHighlightedChanged(ResultBoxItem item, DependencyPropertyChangedEventArgs args)
 {
     if ((bool)args.NewValue && !this.ignoreHighlightNotification)
     {
         this.HighlightedItem = this.ItemContainerGenerator.ItemFromContainer(item);
     }
 }