5 references to IndexOf
PresentationCore (1)
MS\Internal\Ink\Renderer.cs (1)
581int index = children.IndexOf(precedingVisual);
PresentationFramework (4)
System\Windows\Controls\UIElementCollection.cs (1)
189return _visualChildren.IndexOf(element);
System\Windows\Documents\AdornerLayer.cs (3)
470int index = _children.IndexOf(adornerInfo.Adorner); 647int insertionIndex = _children.IndexOf(((AdornerInfo)adornerInfos[index - 1]).Adorner) + 1; 664int insertionIndex = _children.IndexOf(((AdornerInfo)adornerInfos[adornerInfos.Count - 1]).Adorner) + 1;