3 writes to
PresentationFramework (3)
src\Framework\System\Windows\Controls\UIElementCollection.cs (3)
135vc[index] = value; 156vc[index] = null; // explicitly disconnect the existing visual; 157vc[index] = item;
50 references to
PresentationCore (3)
Core\CSharp\MS\Internal\Ink\Renderer.cs (1)
564if (parent.Children[j] is StrokeVisual)
Core\CSharp\System\Windows\Media\ContainerVisual.cs (1)
238return _children[index];
Core\CSharp\System\Windows\Media\VisualCollection.cs (1)
978_currentElement = _collection[_index];
PresentationFramework (47)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (14)
881DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 1032return _childrenCollection[index]; 1081Border background = _childrenCollection[i] as Border; 1096DocumentGridPage page = _childrenCollection[i] as DocumentGridPage; 1203UIElement background =_childrenCollection[_backgroundVisualIndex] as UIElement; 1241UIElement uiPage = _childrenCollection[visualChild] as UIElement; 1427DocumentGridPage lastDp = _childrenCollection[_childrenCollection.Count-1] as DocumentGridPage; 1481visiblePages.Add(_childrenCollection[_firstPageVisualIndex + j - Math.Max(0, firstPage)]); 1539if (vcIndex < _childrenCollection.Count && _childrenCollection[vcIndex] == current) 1557if (vcIndex >= _childrenCollection.Count || _childrenCollection[vcIndex] != current) 1687DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 2325UIElement page = _childrenCollection[i] as UIElement; 2818DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage; 2840DocumentGridPage dp = _childrenCollection[i] as DocumentGridPage;
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (1)
513ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (1)
517ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (3)
1044if (vc[index] is UIElementIsland) 1050Invariant.Assert(vc[index] is ContainerVisual, "The children should always derive from ContainerVisual"); 1051DestroyVisualLinks((ContainerVisual)(vc[index]));
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (3)
71((ContainerVisual)visualChildren[index]).Clip = new RectangleGeometry(rect); 93while(visualIndex < visualChildren.Count && visualChildren[visualIndex] != paraVisual) 311while (visualCollection[index] != paraClient.Visual)
src\Framework\MS\Internal\PtsHost\PtsPage.cs (1)
1276ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (1)
437ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (7)
293Invariant.Assert(((RowVisual)rowVisualsCollection[iR]).Row == row); 308(RowVisual)(rowVisualsCollection[iR]), 317(RowVisual)(rowVisualsCollection[iR]), 1584if (((RowVisual)(rowVisualsCollection[firstIndex])).Row != row) 1591RowVisual rowVisual = (RowVisual)(rowVisualsCollection[lastIndex]); 1611if ((cellVisualsCollection[firstIndex]) != visual) 1618if (cellVisualsCollection[lastIndex] == visual) break;
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (6)
1601ContainerVisual lineVisual = (ContainerVisual) lineVisuals[index]; 1677ContainerVisual lineVisual = (ContainerVisual) lineVisuals[index]; 3525ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 3566ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 3938ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 4002ContainerVisual lineVisual = (ContainerVisual)visualChildren[index];
src\Framework\System\Windows\Controls\TextBlock.cs (1)
1244return _complexContent.VisualChildren[index];
src\Framework\System\Windows\Controls\UIElementCollection.cs (7)
119get { return _visualChildren[index] as UIElement; } 129if (vc[index] != value) 131UIElement e = vc[index] as UIElement; 154if(vc[index] != item) 266visuals[i] = vc[i]; 320UIElement e = vc[index] as UIElement; 363visuals[loop] = vc[i];
src\Framework\System\Windows\Documents\AdornerLayer.cs (2)
402return _children[index]; 494((Adorner)(_children[index])).AdornerTransform = transform;