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)
119
if (_charsEntered.Count > 0 && string.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(
_attachedTo
)) == 0)
138
int itemCount =
_attachedTo
.Items.Count;
142
ItemsControl childItemsControl =
_attachedTo
.ItemContainerGenerator.ContainerFromIndex(currentIndex) as ItemsControl;
243
ItemCollection itemCollection =
_attachedTo
.Items as ItemCollection;
260
if (_charsEntered.Count > 0 && string.Compare(_charsEntered[_charsEntered.Count - 1], nextChar, true, GetCulture(
_attachedTo
)) == 0)
266
string primaryTextPath = GetPrimaryTextPath(
_attachedTo
, false);
270
int matchedItemIndex = FindMatchingPrefix(
_attachedTo
, primaryTextPath, Prefix,nextChar, startItemIndex, repeatedChar, ref wasNewCharUsed);
283
RibbonHelper.NavigateToItem(
_attachedTo
, matchedItemIndex , null);
805
Debug.Assert(
_attachedTo
!= null);
807
_attachedTo
.SetValue(CurrentPrefixProperty, _prefix);
820
Debug.Assert(
_attachedTo
!= null);
822
_attachedTo
.SetValue(IsActiveProperty, _isActive);