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