4 writes to _textBlockCache
PresentationFramework (4)
src\Framework\System\Windows\Controls\TextBlock.cs (4)
1262
_textBlockCache
= null;
1681
_textBlockCache
= null;
1714
_textBlockCache
= null;
3124
_textBlockCache
= new TextBlockCache();
11 references to _textBlockCache
PresentationFramework (11)
src\Framework\System\Windows\Controls\TextBlock.cs (11)
1265
LineProperties lineProperties =
_textBlockCache
._lineProperties;
1365
line.Format(dcp, contentSize.Width, GetLineProperties(dcp == 0, lineProperties), textLineBreakIn,
_textBlockCache
._textRunCache, /*Show paragraph ellipsis*/ false);
1440
_textBlockCache
._textRunCache = null;
1490
LineProperties lineProperties =
_textBlockCache
._lineProperties;
1513
line.Format(dcp, wrappingWidth, GetLineProperties(dcp == 0, lineProperties), lineMetrics.TextLineBreak,
_textBlockCache
._textRunCache, ellipsis);
1548
_textBlockCache
._textRunCache = null;
1597
LineProperties lineProperties =
_textBlockCache
._lineProperties;
1647
line.Format(dcp, wrappingWidth, GetLineProperties(dcp == 0, showParagraphEllipsis, lineProperties), lineMetrics.TextLineBreak,
_textBlockCache
._textRunCache, showParagraphEllipsis);
3122
if (null ==
_textBlockCache
)
3125
_textBlockCache
._lineProperties = GetLineProperties();
3126
_textBlockCache
._textRunCache = new TextRunCache();