1 instantiation of TextSearchInternal
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\TextSearchInternal.cs (1)
55instance = new TextSearchInternal(itemsControl);
15 references to TextSearchInternal
System.Windows.Controls.Ribbon (15)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (7)
390text = TextSearchInternal.GetPrimaryTextFromItem(_firstGallery.SelectedCategory, SelectedItem, true); 424text = TextSearchInternal.GetPrimaryTextFromItem(_firstGallery.HighlightedCategory, HighlightedItem, true); 678object matchedItem = TextSearchInternal.FindMatchingPrefix(_firstGallery, newText, true, out matchedGalleryCategory); 693string matchedText = TextSearchInternal.GetPrimaryTextFromItem(matchedGalleryCategory, matchedItem, true); 722string matchedText = TextSearchInternal.GetPrimaryTextFromItem(matchedGalleryCategory, matchedItem, true); 1281TextSearchInternal instance = TextSearchInternal.EnsureInstance(_firstGallery);
Microsoft\Windows\Controls\TextSearchInternal.cs (8)
49internal static TextSearchInternal EnsureInstance(ItemsControl itemsControl) 51TextSearchInternal instance = (TextSearchInternal)itemsControl.GetValue(TextSearchInternalInstanceProperty); 70DependencyProperty.RegisterAttached("CurrentPrefix", typeof(string), typeof(TextSearchInternal), 77DependencyProperty.RegisterAttached("IsActive", typeof(bool), typeof(TextSearchInternal), 90DependencyProperty.RegisterAttachedReadOnly("TextSearchInternalInstance", typeof(TextSearchInternal), typeof(TextSearchInternal), 745private static TextSearchInternal GetInstance(DependencyObject d)