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