3 writes to
PresentationFramework (3)
System\Windows\Controls\UIElementCollection.cs (3)
130vc[index] = value; 151vc[index] = null; // explicitly disconnect the existing visual; 152vc[index] = item;
50 references to
PresentationCore (3)
MS\Internal\Ink\Renderer.cs (1)
546if (parent.Children[j] is StrokeVisual)
System\Windows\Media\ContainerVisual.cs (1)
235return _children[index];
System\Windows\Media\VisualCollection.cs (1)
948_currentElement = _collection[_index];
PresentationFramework (47)
MS\Internal\Documents\DocumentGrid.cs (14)
862DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 1012return _childrenCollection[index]; 1060Border background = _childrenCollection[i] as Border; 1075DocumentGridPage page = _childrenCollection[i] as DocumentGridPage; 1179UIElement background = _childrenCollection[_backgroundVisualIndex] as UIElement; 1217UIElement uiPage = _childrenCollection[visualChild] as UIElement; 1399DocumentGridPage lastDp = _childrenCollection[_childrenCollection.Count - 1] as DocumentGridPage; 1452visiblePages.Add(_childrenCollection[_firstPageVisualIndex + j - Math.Max(0, firstPage)]); 1510if (vcIndex < _childrenCollection.Count && _childrenCollection[vcIndex] == current) 1528if (vcIndex >= _childrenCollection.Count || _childrenCollection[vcIndex] != current) 1656DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 2284UIElement page = _childrenCollection[i] as UIElement; 2767DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 2789DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage;
MS\Internal\PtsHost\FigureParaClient.cs (1)
462ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\FloaterParaClient.cs (1)
468ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\FlowDocumentPage.cs (3)
1022if (vc[index] is UIElementIsland) 1028Invariant.Assert(vc[index] is ContainerVisual, "The children should always derive from ContainerVisual"); 1029DestroyVisualLinks((ContainerVisual)(vc[index]));
MS\Internal\PtsHost\PtsHelper.cs (3)
67((ContainerVisual)visualChildren[index]).Clip = new RectangleGeometry(rect); 89while(visualIndex < visualChildren.Count && visualChildren[visualIndex] != paraVisual) 289while (visualCollection[index] != paraClient.Visual)
MS\Internal\PtsHost\PtsPage.cs (1)
1167ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\SubpageParaClient.cs (1)
394ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\TableParaClient.cs (7)
273Invariant.Assert(((RowVisual)rowVisualsCollection[iR]).Row == row); 288(RowVisual)(rowVisualsCollection[iR]), 297(RowVisual)(rowVisualsCollection[iR]), 1482if (((RowVisual)(rowVisualsCollection[firstIndex])).Row != row) 1489RowVisual rowVisual = (RowVisual)(rowVisualsCollection[lastIndex]); 1509if ((cellVisualsCollection[firstIndex]) != visual) 1516if (cellVisualsCollection[lastIndex] == visual) break;
MS\Internal\PtsHost\TextParaClient.cs (6)
1418ContainerVisual lineVisual = (ContainerVisual) lineVisuals[index]; 1494ContainerVisual lineVisual = (ContainerVisual) lineVisuals[index]; 3268ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 3309ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 3663ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 3727ContainerVisual lineVisual = (ContainerVisual)visualChildren[index];
System\Windows\Controls\TextBlock.cs (1)
1166return _complexContent.VisualChildren[index];
System\Windows\Controls\UIElementCollection.cs (7)
114get { return _visualChildren[index] as UIElement; } 124if (vc[index] != value) 126UIElement e = vc[index] as UIElement; 149if(vc[index] != item) 261visuals[i] = vc[i]; 315UIElement e = vc[index] as UIElement; 358visuals[loop] = vc[i];
System\Windows\Documents\AdornerLayer.cs (2)
389return _children[index]; 481((Adorner)(_children[index])).AdornerTransform = transform;