7 writes to _viewportLineVisuals
PresentationFramework (7)
src\Framework\MS\Internal\Documents\TextBoxView.cs (7)
438
_viewportLineVisuals
= null;
462
_viewportLineVisuals
= null;
477
_viewportLineVisuals
= null;
1163
_viewportLineVisuals
= null;
1173
_viewportLineVisuals
= null;
2663
_viewportLineVisuals
= null;
2683
_viewportLineVisuals
= new List<TextBoxLineDrawingVisual>(count);
21 references to _viewportLineVisuals
PresentationFramework (21)
src\Framework\MS\Internal\Documents\TextBoxView.cs (21)
2658
List<TextBoxLineDrawingVisual> oldLineVisuals =
_viewportLineVisuals
;
2684
_viewportLineVisuals
.AddRange(new TextBoxLineDrawingVisual[count]); //
2715
_viewportLineVisuals
[lineIndex - _viewportLineVisualsIndex + i] = oldLineVisuals[lineIndex - oldLineVisualsIndex + i];
2748
if (
_viewportLineVisuals
!= null)
2750
lineVisual =
_viewportLineVisuals
[lineIndex - _viewportLineVisualsIndex];
2759
if (
_viewportLineVisuals
!= null)
2761
_viewportLineVisuals
[lineIndex - _viewportLineVisualsIndex] = lineVisual;
2768
if (
_viewportLineVisuals
!= null)
2772
lineIndex < _viewportLineVisualsIndex +
_viewportLineVisuals
.Count)
2774
_viewportLineVisuals
.Insert(lineIndex - _viewportLineVisualsIndex, null);
2782
if (
_viewportLineVisuals
!= null)
2786
lineIndex < _viewportLineVisualsIndex +
_viewportLineVisuals
.Count &&
2787
_viewportLineVisuals
[lineIndex - _viewportLineVisualsIndex] != null)
2790
_viewportLineVisuals
[lineIndex - _viewportLineVisualsIndex].DiscardOnArrange = true;
2791
_viewportLineVisuals
[lineIndex - _viewportLineVisualsIndex] = null;
2799
if (
_viewportLineVisuals
!= null)
2808
if (lineIndex < _viewportLineVisualsIndex +
_viewportLineVisuals
.Count)
2811
count = Math.Min(count,
_viewportLineVisuals
.Count - start);
2817
if (
_viewportLineVisuals
[start + i] != null)
2819
_viewportLineVisuals
[start + i].DiscardOnArrange = true;
2823
_viewportLineVisuals
.RemoveRange(start, count);