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)
118
if (_charsEntered.Count > 0 && string.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(
_attachedTo
)) == 0)
137
int itemCount =
_attachedTo
.Items.Count;
141
ItemsControl childItemsControl =
_attachedTo
.ItemContainerGenerator.ContainerFromIndex(currentIndex) as ItemsControl;
242
ItemCollection itemCollection =
_attachedTo
.Items as ItemCollection;
259
if (_charsEntered.Count > 0 && string.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(
_attachedTo
)) == 0)
265
string primaryTextPath = GetPrimaryTextPath(
_attachedTo
, false);
269
int matchedItemIndex = FindMatchingPrefix(
_attachedTo
, primaryTextPath, Prefix,nextChar, startItemIndex, repeatedChar, ref wasNewCharUsed);
282
RibbonHelper.NavigateToItem(
_attachedTo
, matchedItemIndex , null);
801
Debug.Assert(
_attachedTo
!= null);
803
_attachedTo
.SetValue(CurrentPrefixProperty, _prefix);
816
Debug.Assert(
_attachedTo
!= null);
818
_attachedTo
.SetValue(IsActiveProperty, _isActive);