4 writes to _textBlockCache
PresentationFramework (4)
System\Windows\Controls\TextBlock.cs (4)
1184
_textBlockCache
= null;
1599
_textBlockCache
= null;
1632
_textBlockCache
= null;
3035
_textBlockCache
= new TextBlockCache();
11 references to _textBlockCache
PresentationFramework (11)
System\Windows\Controls\TextBlock.cs (11)
1187
LineProperties lineProperties =
_textBlockCache
._lineProperties;
1287
line.Format(dcp, contentSize.Width, GetLineProperties(dcp == 0, lineProperties), textLineBreakIn,
_textBlockCache
._textRunCache, /*Show paragraph ellipsis*/ false);
1362
_textBlockCache
._textRunCache = null;
1412
LineProperties lineProperties =
_textBlockCache
._lineProperties;
1435
Format(line, lineMetrics.Length, dcp, wrappingWidth, GetLineProperties(dcp == 0, lineProperties), lineMetrics.TextLineBreak,
_textBlockCache
._textRunCache, ellipsis);
1470
_textBlockCache
._textRunCache = null;
1516
LineProperties lineProperties =
_textBlockCache
._lineProperties;
1566
Format(line, lineMetrics.Length, dcp, wrappingWidth, GetLineProperties(dcp == 0, showParagraphEllipsis, lineProperties), lineMetrics.TextLineBreak,
_textBlockCache
._textRunCache, showParagraphEllipsis);
3033
if (null ==
_textBlockCache
)
3036
_textBlockCache
._lineProperties = GetLineProperties();
3037
_textBlockCache
._textRunCache = new TextRunCache();