21 instantiations of TextRunCache
PresentationCore (2)
MS\Internal\TextFormatting\TextFormatterImp.cs (2)
141new TextRunCache() // local cache, only live within this call 298new TextRunCache() // local cache, only live within this call
PresentationFramework (19)
MS\Internal\Documents\TextBoxView.cs (3)
1579line.Format(metrics.Offset, formatWidth, width, lineProperties, new TextRunCache(), formatter); 1744line.Format(metrics.Offset, formatWidth, width, lineProperties, new TextRunCache(), formatter); 3170_textRunCache = new TextRunCache();
MS\Internal\PtsHost\ListMarkerLine.cs (1)
115line = _host.TextFormatter.FormatLine(_host, 0, 0, lineProps.FirstLineProps, null, new TextRunCache());
MS\Internal\PtsHost\TextParagraph.cs (4)
202_textRunCache = new TextRunCache(); 1157_textRunCache = new TextRunCache(); 1275_textRunCache = new TextRunCache(); 1786private TextRunCache _textRunCache = new TextRunCache();
System\Windows\Controls\TextBlock.cs (11)
1686TextRunCache textRunCache = new TextRunCache(); 1806TextRunCache textRunCache = new TextRunCache(); 2092TextRunCache textRunCache = new TextRunCache(); 2141TextRunCache textRunCache = new TextRunCache(); 2199TextRunCache textRunCache = new TextRunCache(); 2296TextRunCache textRunCache = new TextRunCache(); 2395TextRunCache textRunCache = new TextRunCache(); 2502TextRunCache textRunCache = new TextRunCache(); 2618TextRunCache textRunCache = new TextRunCache(); 3037_textBlockCache._textRunCache = new TextRunCache(); 3428TextRunCache textRunCache = new TextRunCache();
33 references to TextRunCache
PresentationCore (11)
MS\Internal\TextFormatting\TextFormatterImp.cs (7)
163TextRunCache textRunCache 201TextRunCache textRunCache 228TextRunCache textRunCache 316TextRunCache textRunCache 378TextRunCache textRunCache 422TextRunCache textRunCache, 465TextRunCache textRunCache
System\Windows\Media\textformatting\TextFormatter.cs (4)
213TextRunCache textRunCache 241TextRunCache textRunCache 269TextRunCache textRunCache 301TextRunCache textRunCache
PresentationFramework (22)
MS\Internal\Documents\TextBoxLine.cs (1)
181internal void Format(int dcp, double formatWidth, double paragraphWidth, LineProperties lineProperties, TextRunCache textRunCache, TextFormatter formatter)
MS\Internal\Documents\TextBoxView.cs (2)
3181internal TextRunCache TextRunCache 3196private readonly TextRunCache _textRunCache;
MS\Internal\PtsHost\Line.cs (2)
1321internal FormattingContext(bool measureMode, bool clearOnLeft, bool clearOnRight, TextRunCache textRunCache) 1330internal TextRunCache TextRunCache;
MS\Internal\PtsHost\OptimalTextSource.cs (2)
66internal OptimalTextSource(TextFormatterHost host, int cpPara, int durTrack, TextParaClient paraClient, TextRunCache runCache) : base(paraClient) 255private TextRunCache _runCache;
MS\Internal\PtsHost\TextParagraph.cs (2)
1466internal TextRunCache TextRunCache 1786private TextRunCache _textRunCache = new TextRunCache();
MS\Internal\Text\Line.cs (1)
85internal void Format(int dcp, double width, TextParagraphProperties lineProperties, TextLineBreak textLineBreak, TextRunCache textRunCache, bool showParagraphEllipsis)
System\Windows\Controls\TextBlock.cs (12)
48public TextRunCache _textRunCache; 1686TextRunCache textRunCache = new TextRunCache(); 1806TextRunCache textRunCache = new TextRunCache(); 2092TextRunCache textRunCache = new TextRunCache(); 2141TextRunCache textRunCache = new TextRunCache(); 2199TextRunCache textRunCache = new TextRunCache(); 2296TextRunCache textRunCache = new TextRunCache(); 2395TextRunCache textRunCache = new TextRunCache(); 2502TextRunCache textRunCache = new TextRunCache(); 2618TextRunCache textRunCache = new TextRunCache(); 3253private void Format(Line line, int length, int dcp, double wrappingWidth, TextParagraphProperties paragraphProperties, TextLineBreak textLineBreak, TextRunCache textRunCache, bool ellipsis) 3428TextRunCache textRunCache = new TextRunCache();