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)
122
if (_charsEntered.Count > 0 && string.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(
_attachedTo
)) == 0)
141
int itemCount =
_attachedTo
.Items.Count;
145
ItemsControl childItemsControl =
_attachedTo
.ItemContainerGenerator.ContainerFromIndex(currentIndex) as ItemsControl;
246
ItemCollection itemCollection =
_attachedTo
.Items as ItemCollection;
263
if (_charsEntered.Count > 0 && string.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(
_attachedTo
)) == 0)
269
string primaryTextPath = GetPrimaryTextPath(
_attachedTo
, false);
273
int matchedItemIndex = FindMatchingPrefix(
_attachedTo
, primaryTextPath, Prefix,nextChar, startItemIndex, repeatedChar, ref wasNewCharUsed);
286
RibbonHelper.NavigateToItem(
_attachedTo
, matchedItemIndex , null);
806
Debug.Assert(
_attachedTo
!= null);
808
_attachedTo
.SetValue(CurrentPrefixProperty, _prefix);
821
Debug.Assert(
_attachedTo
!= null);
823
_attachedTo
.SetValue(IsActiveProperty, _isActive);