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