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