1 write to _attachedTo
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\TextSearchInternal.cs (1)
39_attachedTo = itemsControl;
12 references to _attachedTo
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\TextSearchInternal.cs (12)
118if (_charsEntered.Count > 0 && string.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(_attachedTo)) == 0) 137int itemCount = _attachedTo.Items.Count; 141ItemsControl childItemsControl = _attachedTo.ItemContainerGenerator.ContainerFromIndex(currentIndex) as ItemsControl; 242ItemCollection itemCollection = _attachedTo.Items as ItemCollection; 259if (_charsEntered.Count > 0 && string.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(_attachedTo)) == 0) 265string primaryTextPath = GetPrimaryTextPath(_attachedTo, false); 269int matchedItemIndex = FindMatchingPrefix(_attachedTo, primaryTextPath, Prefix,nextChar, startItemIndex, repeatedChar, ref wasNewCharUsed); 282RibbonHelper.NavigateToItem(_attachedTo, matchedItemIndex , null); 801Debug.Assert(_attachedTo != null); 803_attachedTo.SetValue(CurrentPrefixProperty, _prefix); 816Debug.Assert(_attachedTo != null); 818_attachedTo.SetValue(IsActiveProperty, _isActive);