1 write to _attachedTo
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\TextSearchInternal.cs (1)
40_attachedTo = itemsControl;
12 references to _attachedTo
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\TextSearchInternal.cs (12)
119if (_charsEntered.Count > 0 && string.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(_attachedTo)) == 0) 138int itemCount = _attachedTo.Items.Count; 142ItemsControl childItemsControl = _attachedTo.ItemContainerGenerator.ContainerFromIndex(currentIndex) as ItemsControl; 243ItemCollection itemCollection = _attachedTo.Items as ItemCollection; 260if (_charsEntered.Count > 0 && string.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(_attachedTo)) == 0) 266string primaryTextPath = GetPrimaryTextPath(_attachedTo, false); 270int matchedItemIndex = FindMatchingPrefix(_attachedTo, primaryTextPath, Prefix,nextChar, startItemIndex, repeatedChar, ref wasNewCharUsed); 283RibbonHelper.NavigateToItem(_attachedTo, matchedItemIndex , null); 805Debug.Assert(_attachedTo != null); 807_attachedTo.SetValue(CurrentPrefixProperty, _prefix); 820Debug.Assert(_attachedTo != null); 822_attachedTo.SetValue(IsActiveProperty, _isActive);