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)
123&& (String.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(_attachedTo)) == 0)) 142int itemCount = _attachedTo.Items.Count; 146ItemsControl childItemsControl = _attachedTo.ItemContainerGenerator.ContainerFromIndex(currentIndex) as ItemsControl; 247ItemCollection itemCollection = _attachedTo.Items as ItemCollection; 265&& (String.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(_attachedTo))==0)) 271string primaryTextPath = GetPrimaryTextPath(_attachedTo, false); 275int matchedItemIndex = FindMatchingPrefix(_attachedTo, primaryTextPath, Prefix,nextChar, startItemIndex, repeatedChar, ref wasNewCharUsed); 288RibbonHelper.NavigateToItem(_attachedTo, matchedItemIndex , null); 808Debug.Assert(_attachedTo != null); 810_attachedTo.SetValue(CurrentPrefixProperty, _prefix); 823Debug.Assert(_attachedTo != null); 825_attachedTo.SetValue(IsActiveProperty, _isActive);