7 types derived from TextRun
PresentationCore (7)
MS\Internal\TextFormatting\TextShapeableSymbols.cs (1)
25internal abstract class TextShapeableSymbols : TextRun
System\Windows\Media\textformatting\TextCharacters.cs (1)
26public class TextCharacters : TextRun, ITextSymbols, IShapeableTextCollector
System\Windows\Media\textformatting\TextEmbeddedObject.cs (1)
21public abstract class TextEmbeddedObject : TextRun
System\Windows\Media\textformatting\TextEndOfLine.cs (1)
19public class TextEndOfLine : TextRun
System\Windows\Media\textformatting\TextEndOfSegment.cs (1)
20public class TextEndOfSegment : TextRun
System\Windows\Media\textformatting\TextHidden.cs (1)
19public class TextHidden : TextRun
System\Windows\Media\textformatting\TextModifier.cs (1)
21public abstract class TextModifier : TextRun
110 references to TextRun
PresentationCore (54)
MS\Internal\TextFormatting\FormatSettings.cs (1)
184out TextRun textRun,
MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
37TextRun textSymbols,
MS\Internal\TextFormatting\FullTextLine.cs (8)
2048public override IList<TextSpan<TextRun>> GetTextRunSpans() 2058return Array.Empty<TextSpan<TextRun>>(); 2061List<TextSpan<TextRun>> lsrunList = new List<TextSpan<TextRun>>(2); 2063TextRun lastTextRun = null; 2076TextRun textRun = ((LSRun)GetRun((Plsrun)plsrunSpan.element)).TextRun; 2082lsrunList.Add(new TextSpan<TextRun>(cchAcc, lastTextRun)); 2095lsrunList.Add(new TextSpan<TextRun>(cchAcc, lastTextRun));
MS\Internal\TextFormatting\LineServicesRun.cs (1)
494internal TextRun TextRun
MS\Internal\TextFormatting\SimpleTextLine.cs (13)
887public override IList<TextSpan<TextRun>> GetTextRunSpans() 889TextSpan<TextRun>[] textRunSpans = new TextSpan<TextRun>[_runs.Length]; 893textRunSpans[i] = new TextSpan<TextRun>(_runs[i].Length, _runs[i].TextRun); 1290public TextRun TextRun; // text run 1402TextRun textRun; 1442TextRun textRun, 1502TextRun newRun; 1518TextRun mergedTextRun = new TextCharacters(characterArray, 0, lengthOfRun, textRun.Properties); 1583TextRun textRun, 1611TextRun modifedTextRun = new TextCharacters(" ", textRun.Properties); 1654TextRun textRun, 1713TextRun textRun,
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
144public override TextRun GetTextRun(
MS\Internal\TextFormatting\TextProperties.cs (4)
176private TextRun _textRun; 201TextRun textRun, 235internal TextRun TextRun 397internal static Plsrun GetRunType(TextRun textRun)
MS\Internal\TextFormatting\TextRunCacheImp.cs (10)
89internal TextRun FetchTextRun( 99TextRun textRun = (TextRun)textRunSpanRider.CurrentElement; 281TextRun run = textRunSpanRider.CurrentElement as TextRun; 312internal IList<TextSpan<TextRun>> GetTextRunSpans() 314TextSpan<TextRun>[] textRunList = new TextSpan<TextRun>[_textRunVector.Count]; 319textRunList[i] = new TextSpan<TextRun>(currentSpan.length, currentSpan.element as TextRun);
MS\Internal\TextFormatting\TextStore.cs (1)
400TextRun textRun;
System\Windows\Media\FormattedText.cs (1)
1843public override TextRun GetTextRun(
System\Windows\Media\textformatting\CharacterString.cs (1)
155internal CharacterBufferRange(TextRun textRun)
System\Windows\Media\textformatting\TextBounds.cs (3)
82TextRun textRun 122public TextRun TextRun 130private TextRun _textRun;
System\Windows\Media\textformatting\TextCollapsingProperties.cs (1)
31public abstract TextRun Symbol
System\Windows\Media\textformatting\TextLine.cs (1)
183public abstract IList<TextSpan<TextRun>> GetTextRunSpans();
System\Windows\Media\textformatting\TextRunCache.cs (2)
82internal IList<TextSpan<TextRun>> GetTextRunSpans() 91return Array.Empty<TextSpan<TextRun>>();
System\Windows\Media\textformatting\TextSource.cs (1)
32public abstract TextRun GetTextRun(
System\Windows\Media\textformatting\TextTrailingCharacterEllipsis.cs (2)
23private TextRun _ellipsis; 59public sealed override TextRun Symbol
System\Windows\Media\textformatting\TextTrailingWordEllipsis.cs (2)
23private TextRun _ellipsis; 59public sealed override TextRun Symbol
PresentationFramework (56)
MS\Internal\Documents\TextBoxLine.cs (5)
69public override TextRun GetTextRun(int dcp) 71TextRun run = null; 377IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 378return (((TextSpan<TextRun>)runs[runs.Count - 1]).Value is TextEndOfParagraph); 419private TextRun HandleText(StaticTextPointer position)
MS\Internal\PtsHost\Line.cs (18)
146internal override TextRun GetTextRun(int dcp) 148TextRun run = null; 300foreach (TextSpan<TextRun> textSpan in _runs) 302TextRun run = (TextRun)textSpan.Value; 387IList<TextSpan<TextRun>> runs = _runs; 408foreach (TextSpan<TextRun> textSpan in runs) 410TextRun run = (TextRun)textSpan.Value; 674IList<TextSpan<TextRun>> spans = _line.GetTextRunSpans(); 695foreach (TextSpan<TextRun> textSpan in spans) 716foreach (TextSpan<TextRun> span in spans) 865return (((TextSpan<TextRun>)_runs[_runs.Count-1]).Value is ParagraphBreakRun); 941TextRun run = ((TextSpan<TextRun>)_runs[_runs.Count - 1]).Value as TextRun; 971foreach (TextSpan<TextRun> textSpan in _runs) 1263private IList<TextSpan<TextRun>> _runs;
MS\Internal\PtsHost\LineBase.cs (8)
45internal abstract TextRun GetTextRun(int dcp); 81protected TextRun HandleText(StaticTextPointer position) 133protected TextRun HandleElementStartEdge(StaticTextPointer position) 138TextRun run = null; 248protected TextRun HandleElementEndEdge(StaticTextPointer position) 252TextRun run; 302protected TextRun HandleEmbeddedObject(int dcp, StaticTextPointer position) 306TextRun run = null;
MS\Internal\PtsHost\ListMarkerLine.cs (1)
50internal override TextRun GetTextRun(int dcp)
MS\Internal\PtsHost\OptimalTextSource.cs (4)
93internal override TextRun GetTextRun(int dcp) 95TextRun run = null; 197foreach (TextSpan<TextRun> textSpan in _runCache.GetTextRunSpans()) 199TextRun run = textSpan.Value;
MS\Internal\PtsHost\TextFormatterHost.cs (2)
38public override TextRun GetTextRun(int textSourceCharacterIndex) 42TextRun run = Context.GetTextRun(textSourceCharacterIndex);
MS\Internal\Text\ComplexLine.cs (14)
37public override TextRun GetTextRun(int dcp) 39TextRun run = null; 154IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 159foreach (TextSpan<TextRun> textSpan in runs) 161TextRun run = textSpan.Value; 229IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 231foreach (TextSpan<TextRun> textSpan in runs) 329private TextRun HandleText(StaticTextPointer position) 379private TextRun HandleElementStartEdge(StaticTextPointer position) 384TextRun run = null; 470private TextRun HandleElementEndEdge(StaticTextPointer position) 474TextRun run = null; 520private TextRun HandleInlineObject(StaticTextPointer position, int dcp) 524TextRun run = null;
MS\Internal\Text\Line.cs (2)
418IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 419return (((TextSpan<TextRun>)runs[runs.Count-1]).Value is TextEndOfParagraph);
MS\Internal\Text\SimpleLine.cs (2)
32public override TextRun GetTextRun(int dcp) 36TextRun run;