21 instantiations of TextRunCache
PresentationCore (2)
MS\Internal\TextFormatting\TextFormatterImp.cs (2)
118new TextRunCache() // local cache, only live within this call 275new TextRunCache() // local cache, only live within this call
PresentationFramework (19)
MS\Internal\Documents\TextBoxView.cs (3)
1537line.Format(metrics.Offset, formatWidth, width, lineProperties, new TextRunCache(), formatter); 1702line.Format(metrics.Offset, formatWidth, width, lineProperties, new TextRunCache(), formatter); 3128_textRunCache = new TextRunCache();
MS\Internal\PtsHost\ListMarkerLine.cs (1)
108line = _host.TextFormatter.FormatLine(_host, 0, 0, lineProps.FirstLineProps, null, new TextRunCache());
MS\Internal\PtsHost\TextParagraph.cs (4)
184_textRunCache = new TextRunCache(); 1128_textRunCache = new TextRunCache(); 1246_textRunCache = new TextRunCache(); 1757private TextRunCache _textRunCache = new TextRunCache();
System\Windows\Controls\TextBlock.cs (11)
1668TextRunCache textRunCache = new TextRunCache(); 1788TextRunCache textRunCache = new TextRunCache(); 2071TextRunCache textRunCache = new TextRunCache(); 2120TextRunCache textRunCache = new TextRunCache(); 2178TextRunCache textRunCache = new TextRunCache(); 2275TextRunCache textRunCache = new TextRunCache(); 2374TextRunCache textRunCache = new TextRunCache(); 2481TextRunCache textRunCache = new TextRunCache(); 2597TextRunCache textRunCache = new TextRunCache(); 3017_textRunCache = new TextRunCache() 3409TextRunCache textRunCache = new TextRunCache();
33 references to TextRunCache
PresentationCore (11)
MS\Internal\TextFormatting\TextFormatterImp.cs (7)
140TextRunCache textRunCache 178TextRunCache textRunCache 205TextRunCache textRunCache 293TextRunCache textRunCache 355TextRunCache textRunCache 399TextRunCache textRunCache, 442TextRunCache textRunCache
System\Windows\Media\textformatting\TextFormatter.cs (4)
207TextRunCache textRunCache 234TextRunCache textRunCache 261TextRunCache textRunCache 293TextRunCache textRunCache
PresentationFramework (22)
MS\Internal\Documents\TextBoxLine.cs (1)
174internal void Format(int dcp, double formatWidth, double paragraphWidth, LineProperties lineProperties, TextRunCache textRunCache, TextFormatter formatter)
MS\Internal\Documents\TextBoxView.cs (2)
3139internal TextRunCache TextRunCache 3154private readonly TextRunCache _textRunCache;
MS\Internal\PtsHost\Line.cs (2)
1298internal FormattingContext(bool measureMode, bool clearOnLeft, bool clearOnRight, TextRunCache textRunCache) 1307internal TextRunCache TextRunCache;
MS\Internal\PtsHost\OptimalTextSource.cs (2)
51internal OptimalTextSource(TextFormatterHost host, int cpPara, int durTrack, TextParaClient paraClient, TextRunCache runCache) : base(paraClient) 240private TextRunCache _runCache;
MS\Internal\PtsHost\TextParagraph.cs (2)
1437internal TextRunCache TextRunCache 1757private TextRunCache _textRunCache = new TextRunCache();
MS\Internal\Text\Line.cs (1)
78internal void Format(int dcp, double width, TextParagraphProperties lineProperties, TextLineBreak textLineBreak, TextRunCache textRunCache, bool showParagraphEllipsis)
System\Windows\Controls\TextBlock.cs (12)
36public TextRunCache _textRunCache; 1668TextRunCache textRunCache = new TextRunCache(); 1788TextRunCache textRunCache = new TextRunCache(); 2071TextRunCache textRunCache = new TextRunCache(); 2120TextRunCache textRunCache = new TextRunCache(); 2178TextRunCache textRunCache = new TextRunCache(); 2275TextRunCache textRunCache = new TextRunCache(); 2374TextRunCache textRunCache = new TextRunCache(); 2481TextRunCache textRunCache = new TextRunCache(); 2597TextRunCache textRunCache = new TextRunCache(); 3234private void Format(Line line, int length, int dcp, double wrappingWidth, TextParagraphProperties paragraphProperties, TextLineBreak textLineBreak, TextRunCache textRunCache, bool ellipsis) 3409TextRunCache textRunCache = new TextRunCache();