21 instantiations of TextRunCache
PresentationCore (2)
Core\CSharp\MS\Internal\TextFormatting\TextFormatterImp.cs (2)
143new TextRunCache() // local cache, only live within this call 300new TextRunCache() // local cache, only live within this call
PresentationFramework (19)
src\Framework\MS\Internal\Documents\TextBoxView.cs (3)
1580line.Format(metrics.Offset, formatWidth, width, lineProperties, new TextRunCache(), formatter); 1742line.Format(metrics.Offset, formatWidth, width, lineProperties, new TextRunCache(), formatter); 3147_textRunCache = new TextRunCache();
src\Framework\MS\Internal\PtsHost\ListMarkerLine.cs (1)
119line = _host.TextFormatter.FormatLine(_host, 0, 0, lineProps.FirstLineProps, null, new TextRunCache());
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (4)
207_textRunCache = new TextRunCache(); 1165_textRunCache = new TextRunCache(); 1283_textRunCache = new TextRunCache(); 1794private TextRunCache _textRunCache = new TextRunCache();
src\Framework\System\Windows\Controls\TextBlock.cs (11)
1771TextRunCache textRunCache = new TextRunCache(); 1894TextRunCache textRunCache = new TextRunCache(); 2181TextRunCache textRunCache = new TextRunCache(); 2229TextRunCache textRunCache = new TextRunCache(); 2286TextRunCache textRunCache = new TextRunCache(); 2384TextRunCache textRunCache = new TextRunCache(); 2483TextRunCache textRunCache = new TextRunCache(); 2591TextRunCache textRunCache = new TextRunCache(); 2707TextRunCache textRunCache = new TextRunCache(); 3126_textBlockCache._textRunCache = new TextRunCache(); 3417TextRunCache textRunCache = new TextRunCache();
32 references to TextRunCache
PresentationCore (11)
Core\CSharp\MS\Internal\TextFormatting\TextFormatterImp.cs (7)
165TextRunCache textRunCache 203TextRunCache textRunCache 230TextRunCache textRunCache 318TextRunCache textRunCache 380TextRunCache textRunCache 424TextRunCache textRunCache, 467TextRunCache textRunCache
Core\CSharp\System\Windows\Media\TextFormatting\TextFormatter.cs (4)
215TextRunCache textRunCache 243TextRunCache textRunCache 271TextRunCache textRunCache 303TextRunCache textRunCache
PresentationFramework (21)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
183internal void Format(int dcp, double formatWidth, double paragraphWidth, LineProperties lineProperties, TextRunCache textRunCache, TextFormatter formatter)
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
3158internal TextRunCache TextRunCache 3173private readonly TextRunCache _textRunCache;
src\Framework\MS\Internal\PtsHost\Line.cs (2)
1324internal FormattingContext(bool measureMode, bool clearOnLeft, bool clearOnRight, TextRunCache textRunCache) 1333internal TextRunCache TextRunCache;
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (2)
70internal OptimalTextSource(TextFormatterHost host, int cpPara, int durTrack, TextParaClient paraClient, TextRunCache runCache) : base(paraClient) 259private TextRunCache _runCache;
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (2)
1474internal TextRunCache TextRunCache 1794private TextRunCache _textRunCache = new TextRunCache();
src\Framework\MS\Internal\Text\Line.cs (1)
88internal void Format(int dcp, double width, TextParagraphProperties lineProperties, TextLineBreak textLineBreak, TextRunCache textRunCache, bool showParagraphEllipsis)
src\Framework\System\Windows\Controls\TextBlock.cs (11)
54public TextRunCache _textRunCache; 1771TextRunCache textRunCache = new TextRunCache(); 1894TextRunCache textRunCache = new TextRunCache(); 2181TextRunCache textRunCache = new TextRunCache(); 2229TextRunCache textRunCache = new TextRunCache(); 2286TextRunCache textRunCache = new TextRunCache(); 2384TextRunCache textRunCache = new TextRunCache(); 2483TextRunCache textRunCache = new TextRunCache(); 2591TextRunCache textRunCache = new TextRunCache(); 2707TextRunCache textRunCache = new TextRunCache(); 3417TextRunCache textRunCache = new TextRunCache();