1 write to _attachedTo
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\TextSearchInternal.cs (1)
43_attachedTo = itemsControl;
12 references to _attachedTo
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\TextSearchInternal.cs (12)
122if (_charsEntered.Count > 0 && string.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(_attachedTo)) == 0) 141int itemCount = _attachedTo.Items.Count; 145ItemsControl childItemsControl = _attachedTo.ItemContainerGenerator.ContainerFromIndex(currentIndex) as ItemsControl; 246ItemCollection itemCollection = _attachedTo.Items as ItemCollection; 263if (_charsEntered.Count > 0 && string.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(_attachedTo)) == 0) 269string primaryTextPath = GetPrimaryTextPath(_attachedTo, false); 273int matchedItemIndex = FindMatchingPrefix(_attachedTo, primaryTextPath, Prefix,nextChar, startItemIndex, repeatedChar, ref wasNewCharUsed); 286RibbonHelper.NavigateToItem(_attachedTo, matchedItemIndex , null); 806Debug.Assert(_attachedTo != null); 808_attachedTo.SetValue(CurrentPrefixProperty, _prefix); 821Debug.Assert(_attachedTo != null); 823_attachedTo.SetValue(IsActiveProperty, _isActive);