3 writes to
PresentationFramework (3)
System\Windows\Controls\UIElementCollection.cs (3)
126vc[index] = value; 147vc[index] = null; // explicitly disconnect the existing visual; 148vc[index] = item;
50 references to
PresentationCore (3)
MS\Internal\Ink\Renderer.cs (1)
538if (parent.Children[j] is StrokeVisual)
System\Windows\Media\ContainerVisual.cs (1)
226return _children[index];
System\Windows\Media\VisualCollection.cs (1)
934_currentElement = _collection[_index];
PresentationFramework (47)
MS\Internal\Documents\DocumentGrid.cs (14)
855DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 1005return _childrenCollection[index]; 1053Border background = _childrenCollection[i] as Border; 1068DocumentGridPage page = _childrenCollection[i] as DocumentGridPage; 1172UIElement background = _childrenCollection[_backgroundVisualIndex] as UIElement; 1210UIElement uiPage = _childrenCollection[visualChild] as UIElement; 1392DocumentGridPage lastDp = _childrenCollection[_childrenCollection.Count - 1] as DocumentGridPage; 1445visiblePages.Add(_childrenCollection[_firstPageVisualIndex + j - Math.Max(0, firstPage)]); 1503if (vcIndex < _childrenCollection.Count && _childrenCollection[vcIndex] == current) 1521if (vcIndex >= _childrenCollection.Count || _childrenCollection[vcIndex] != current) 1649DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 2277UIElement page = _childrenCollection[i] as UIElement; 2760DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 2782DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage;
MS\Internal\PtsHost\FigureParaClient.cs (1)
456ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\FloaterParaClient.cs (1)
463ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\FlowDocumentPage.cs (3)
1014if (vc[index] is UIElementIsland) 1020Invariant.Assert(vc[index] is ContainerVisual, "The children should always derive from ContainerVisual"); 1021DestroyVisualLinks((ContainerVisual)(vc[index]));
MS\Internal\PtsHost\PtsHelper.cs (3)
62((ContainerVisual)visualChildren[index]).Clip = new RectangleGeometry(rect); 84while(visualIndex < visualChildren.Count && visualChildren[visualIndex] != paraVisual) 284while (visualCollection[index] != paraClient.Visual)
MS\Internal\PtsHost\PtsPage.cs (1)
1161ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\SubpageParaClient.cs (1)
389ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\TableParaClient.cs (7)
267Invariant.Assert(((RowVisual)rowVisualsCollection[iR]).Row == row); 282(RowVisual)(rowVisualsCollection[iR]), 291(RowVisual)(rowVisualsCollection[iR]), 1476if (((RowVisual)(rowVisualsCollection[firstIndex])).Row != row) 1483RowVisual rowVisual = (RowVisual)(rowVisualsCollection[lastIndex]); 1503if ((cellVisualsCollection[firstIndex]) != visual) 1510if (cellVisualsCollection[lastIndex] == visual) break;
MS\Internal\PtsHost\TextParaClient.cs (6)
1412ContainerVisual lineVisual = (ContainerVisual) lineVisuals[index]; 1488ContainerVisual lineVisual = (ContainerVisual) lineVisuals[index]; 3262ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 3303ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 3657ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 3721ContainerVisual lineVisual = (ContainerVisual)visualChildren[index];
System\Windows\Controls\TextBlock.cs (1)
1156return _complexContent.VisualChildren[index];
System\Windows\Controls\UIElementCollection.cs (7)
110get { return _visualChildren[index] as UIElement; } 120if (vc[index] != value) 122UIElement e = vc[index] as UIElement; 145if(vc[index] != item) 257visuals[i] = vc[i]; 311UIElement e = vc[index] as UIElement; 354visuals[loop] = vc[i];
System\Windows\Documents\AdornerLayer.cs (2)
385return _children[index]; 477((Adorner)(_children[index])).AdornerTransform = transform;