21 instantiations of TextRunCache
PresentationCore (2)
MS\Internal\TextFormatting\TextFormatterImp.cs (2)
117new TextRunCache() // local cache, only live within this call 274new TextRunCache() // local cache, only live within this call
PresentationFramework (19)
MS\Internal\Documents\TextBoxView.cs (3)
1536line.Format(metrics.Offset, formatWidth, width, lineProperties, new TextRunCache(), formatter); 1701line.Format(metrics.Offset, formatWidth, width, lineProperties, new TextRunCache(), formatter); 3127_textRunCache = new TextRunCache();
MS\Internal\PtsHost\ListMarkerLine.cs (1)
107line = _host.TextFormatter.FormatLine(_host, 0, 0, lineProps.FirstLineProps, null, new TextRunCache());
MS\Internal\PtsHost\TextParagraph.cs (4)
183_textRunCache = new TextRunCache(); 1127_textRunCache = new TextRunCache(); 1245_textRunCache = new TextRunCache(); 1756private TextRunCache _textRunCache = new TextRunCache();
System\Windows\Controls\TextBlock.cs (11)
1667TextRunCache textRunCache = new TextRunCache(); 1787TextRunCache textRunCache = new TextRunCache(); 2070TextRunCache textRunCache = new TextRunCache(); 2119TextRunCache textRunCache = new TextRunCache(); 2177TextRunCache textRunCache = new TextRunCache(); 2274TextRunCache textRunCache = new TextRunCache(); 2373TextRunCache textRunCache = new TextRunCache(); 2480TextRunCache textRunCache = new TextRunCache(); 2596TextRunCache textRunCache = new TextRunCache(); 3016_textRunCache = new TextRunCache() 3408TextRunCache textRunCache = new TextRunCache();
33 references to TextRunCache
PresentationCore (11)
MS\Internal\TextFormatting\TextFormatterImp.cs (7)
139TextRunCache textRunCache 177TextRunCache textRunCache 204TextRunCache textRunCache 292TextRunCache textRunCache 354TextRunCache textRunCache 398TextRunCache textRunCache, 441TextRunCache textRunCache
System\Windows\Media\textformatting\TextFormatter.cs (4)
206TextRunCache textRunCache 233TextRunCache textRunCache 260TextRunCache textRunCache 292TextRunCache textRunCache
PresentationFramework (22)
MS\Internal\Documents\TextBoxLine.cs (1)
173internal void Format(int dcp, double formatWidth, double paragraphWidth, LineProperties lineProperties, TextRunCache textRunCache, TextFormatter formatter)
MS\Internal\Documents\TextBoxView.cs (2)
3138internal TextRunCache TextRunCache 3153private readonly TextRunCache _textRunCache;
MS\Internal\PtsHost\Line.cs (2)
1297internal FormattingContext(bool measureMode, bool clearOnLeft, bool clearOnRight, TextRunCache textRunCache) 1306internal TextRunCache TextRunCache;
MS\Internal\PtsHost\OptimalTextSource.cs (2)
50internal OptimalTextSource(TextFormatterHost host, int cpPara, int durTrack, TextParaClient paraClient, TextRunCache runCache) : base(paraClient) 239private TextRunCache _runCache;
MS\Internal\PtsHost\TextParagraph.cs (2)
1436internal TextRunCache TextRunCache 1756private TextRunCache _textRunCache = new TextRunCache();
MS\Internal\Text\Line.cs (1)
77internal void Format(int dcp, double width, TextParagraphProperties lineProperties, TextLineBreak textLineBreak, TextRunCache textRunCache, bool showParagraphEllipsis)
System\Windows\Controls\TextBlock.cs (12)
35public TextRunCache _textRunCache; 1667TextRunCache textRunCache = new TextRunCache(); 1787TextRunCache textRunCache = new TextRunCache(); 2070TextRunCache textRunCache = new TextRunCache(); 2119TextRunCache textRunCache = new TextRunCache(); 2177TextRunCache textRunCache = new TextRunCache(); 2274TextRunCache textRunCache = new TextRunCache(); 2373TextRunCache textRunCache = new TextRunCache(); 2480TextRunCache textRunCache = new TextRunCache(); 2596TextRunCache textRunCache = new TextRunCache(); 3233private void Format(Line line, int length, int dcp, double wrappingWidth, TextParagraphProperties paragraphProperties, TextLineBreak textLineBreak, TextRunCache textRunCache, bool ellipsis) 3408TextRunCache textRunCache = new TextRunCache();