7 types derived from TextRun
PresentationCore (7)
MS\Internal\TextFormatting\TextShapeableSymbols.cs (1)
24internal abstract class TextShapeableSymbols : TextRun
System\Windows\Media\textformatting\TextCharacters.cs (1)
25public class TextCharacters : TextRun, ITextSymbols, IShapeableTextCollector
System\Windows\Media\textformatting\TextEmbeddedObject.cs (1)
20public abstract class TextEmbeddedObject : TextRun
System\Windows\Media\textformatting\TextEndOfLine.cs (1)
18public class TextEndOfLine : TextRun
System\Windows\Media\textformatting\TextEndOfSegment.cs (1)
19public class TextEndOfSegment : TextRun
System\Windows\Media\textformatting\TextHidden.cs (1)
18public class TextHidden : TextRun
System\Windows\Media\textformatting\TextModifier.cs (1)
20public abstract class TextModifier : TextRun
110 references to TextRun
PresentationCore (54)
MS\Internal\TextFormatting\FormatSettings.cs (1)
183out TextRun textRun,
MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
36TextRun textSymbols,
MS\Internal\TextFormatting\FullTextLine.cs (8)
2049public override IList<TextSpan<TextRun>> GetTextRunSpans() 2059return Array.Empty<TextSpan<TextRun>>(); 2062List<TextSpan<TextRun>> lsrunList = new List<TextSpan<TextRun>>(2); 2064TextRun lastTextRun = null; 2077TextRun textRun = ((LSRun)GetRun((Plsrun)plsrunSpan.element)).TextRun; 2083lsrunList.Add(new TextSpan<TextRun>(cchAcc, lastTextRun)); 2096lsrunList.Add(new TextSpan<TextRun>(cchAcc, lastTextRun));
MS\Internal\TextFormatting\LineServicesRun.cs (1)
493internal TextRun TextRun
MS\Internal\TextFormatting\SimpleTextLine.cs (13)
880public override IList<TextSpan<TextRun>> GetTextRunSpans() 882TextSpan<TextRun>[] textRunSpans = new TextSpan<TextRun>[_runs.Length]; 886textRunSpans[i] = new TextSpan<TextRun>(_runs[i].Length, _runs[i].TextRun); 1283public TextRun TextRun; // text run 1395TextRun textRun; 1435TextRun textRun, 1495TextRun newRun; 1511TextRun mergedTextRun = new TextCharacters(characterArray, 0, lengthOfRun, textRun.Properties); 1576TextRun textRun, 1604TextRun modifedTextRun = new TextCharacters(" ", textRun.Properties); 1649TextRun textRun, 1710TextRun textRun,
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
143public override TextRun GetTextRun(
MS\Internal\TextFormatting\TextProperties.cs (4)
175private TextRun _textRun; 200TextRun textRun, 234internal TextRun TextRun 396internal static Plsrun GetRunType(TextRun textRun)
MS\Internal\TextFormatting\TextRunCacheImp.cs (10)
88internal TextRun FetchTextRun( 98TextRun textRun = (TextRun)textRunSpanRider.CurrentElement; 280TextRun run = textRunSpanRider.CurrentElement as TextRun; 311internal IList<TextSpan<TextRun>> GetTextRunSpans() 313TextSpan<TextRun>[] textRunList = new TextSpan<TextRun>[_textRunVector.Count]; 318textRunList[i] = new TextSpan<TextRun>(currentSpan.length, currentSpan.element as TextRun);
MS\Internal\TextFormatting\TextStore.cs (1)
399TextRun textRun;
System\Windows\Media\FormattedText.cs (1)
1822public override TextRun GetTextRun(
System\Windows\Media\textformatting\CharacterString.cs (1)
154internal CharacterBufferRange(TextRun textRun)
System\Windows\Media\textformatting\TextBounds.cs (3)
81TextRun textRun 121public TextRun TextRun 129private TextRun _textRun;
System\Windows\Media\textformatting\TextCollapsingProperties.cs (1)
30public abstract TextRun Symbol
System\Windows\Media\textformatting\TextLine.cs (1)
182public abstract IList<TextSpan<TextRun>> GetTextRunSpans();
System\Windows\Media\textformatting\TextRunCache.cs (2)
78internal IList<TextSpan<TextRun>> GetTextRunSpans() 87return Array.Empty<TextSpan<TextRun>>();
System\Windows\Media\textformatting\TextSource.cs (1)
31public abstract TextRun GetTextRun(
System\Windows\Media\textformatting\TextTrailingCharacterEllipsis.cs (2)
22private TextRun _ellipsis; 58public sealed override TextRun Symbol
System\Windows\Media\textformatting\TextTrailingWordEllipsis.cs (2)
22private TextRun _ellipsis; 58public sealed override TextRun Symbol
PresentationFramework (56)
MS\Internal\Documents\TextBoxLine.cs (5)
68public override TextRun GetTextRun(int dcp) 70TextRun run = null; 376IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 377return (((TextSpan<TextRun>)runs[runs.Count - 1]).Value is TextEndOfParagraph); 418private TextRun HandleText(StaticTextPointer position)
MS\Internal\PtsHost\Line.cs (18)
134internal override TextRun GetTextRun(int dcp) 136TextRun run = null; 288foreach (TextSpan<TextRun> textSpan in _runs) 290TextRun run = (TextRun)textSpan.Value; 375IList<TextSpan<TextRun>> runs = _runs; 396foreach (TextSpan<TextRun> textSpan in runs) 398TextRun run = (TextRun)textSpan.Value; 661IList<TextSpan<TextRun>> spans = _line.GetTextRunSpans(); 682foreach (TextSpan<TextRun> textSpan in spans) 703foreach (TextSpan<TextRun> span in spans) 852return (((TextSpan<TextRun>)_runs[_runs.Count-1]).Value is ParagraphBreakRun); 928TextRun run = ((TextSpan<TextRun>)_runs[_runs.Count - 1]).Value as TextRun; 958foreach (TextSpan<TextRun> textSpan in _runs) 1250private IList<TextSpan<TextRun>> _runs;
MS\Internal\PtsHost\LineBase.cs (8)
40internal abstract TextRun GetTextRun(int dcp); 76protected TextRun HandleText(StaticTextPointer position) 128protected TextRun HandleElementStartEdge(StaticTextPointer position) 133TextRun run = null; 243protected TextRun HandleElementEndEdge(StaticTextPointer position) 247TextRun run; 297protected TextRun HandleEmbeddedObject(int dcp, StaticTextPointer position) 301TextRun run = null;
MS\Internal\PtsHost\ListMarkerLine.cs (1)
49internal override TextRun GetTextRun(int dcp)
MS\Internal\PtsHost\OptimalTextSource.cs (4)
84internal override TextRun GetTextRun(int dcp) 86TextRun run = null; 188foreach (TextSpan<TextRun> textSpan in _runCache.GetTextRunSpans()) 190TextRun run = textSpan.Value;
MS\Internal\PtsHost\TextFormatterHost.cs (2)
37public override TextRun GetTextRun(int textSourceCharacterIndex) 41TextRun run = Context.GetTextRun(textSourceCharacterIndex);
MS\Internal\Text\ComplexLine.cs (14)
36public override TextRun GetTextRun(int dcp) 38TextRun run = null; 153IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 158foreach (TextSpan<TextRun> textSpan in runs) 160TextRun run = textSpan.Value; 228IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 230foreach (TextSpan<TextRun> textSpan in runs) 328private TextRun HandleText(StaticTextPointer position) 378private TextRun HandleElementStartEdge(StaticTextPointer position) 383TextRun run = null; 469private TextRun HandleElementEndEdge(StaticTextPointer position) 473TextRun run = null; 519private TextRun HandleInlineObject(StaticTextPointer position, int dcp) 523TextRun run = null;
MS\Internal\Text\Line.cs (2)
417IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 418return (((TextSpan<TextRun>)runs[runs.Count-1]).Value is TextEndOfParagraph);
MS\Internal\Text\SimpleLine.cs (2)
31public override TextRun GetTextRun(int dcp) 35TextRun run;