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