5 references to IndexOf
PresentationCore (1)
Core\CSharp\MS\Internal\Ink\Renderer.cs (1)
607
int index = children.
IndexOf
(precedingVisual);
PresentationFramework (4)
src\Framework\System\Windows\Controls\UIElementCollection.cs (1)
198
return _visualChildren.
IndexOf
(element);
src\Framework\System\Windows\Documents\AdornerLayer.cs (3)
487
int index = _children.
IndexOf
(adornerInfo.Adorner);
665
int insertionIndex = _children.
IndexOf
(((AdornerInfo)adornerInfos[index - 1]).Adorner) + 1;
682
int insertionIndex = _children.
IndexOf
(((AdornerInfo)adornerInfos[adornerInfos.Count - 1]).Adorner) + 1;