7 types derived from TextRun
PresentationCore (7)
MS\Internal\TextFormatting\TextShapeableSymbols.cs (1)
30internal abstract class TextShapeableSymbols : TextRun
System\Windows\Media\textformatting\TextCharacters.cs (1)
35public class TextCharacters : TextRun, ITextSymbols, IShapeableTextCollector
System\Windows\Media\textformatting\TextEmbeddedObject.cs (1)
29public abstract class TextEmbeddedObject : TextRun
System\Windows\Media\textformatting\TextEndOfLine.cs (1)
26public class TextEndOfLine : TextRun
System\Windows\Media\textformatting\TextEndOfSegment.cs (1)
28public class TextEndOfSegment : TextRun
System\Windows\Media\textformatting\TextHidden.cs (1)
26public class TextHidden : TextRun
System\Windows\Media\textformatting\TextModifier.cs (1)
28public abstract class TextModifier : TextRun
110 references to TextRun
PresentationCore (54)
MS\Internal\TextFormatting\FormatSettings.cs (1)
189out TextRun textRun,
MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
45TextRun textSymbols,
MS\Internal\TextFormatting\FullTextLine.cs (8)
2063public override IList<TextSpan<TextRun>> GetTextRunSpans() 2073return Array.Empty<TextSpan<TextRun>>(); 2076List<TextSpan<TextRun>> lsrunList = new List<TextSpan<TextRun>>(2); 2078TextRun lastTextRun = null; 2091TextRun textRun = ((LSRun)GetRun((Plsrun)plsrunSpan.element)).TextRun; 2097lsrunList.Add(new TextSpan<TextRun>(cchAcc, lastTextRun)); 2110lsrunList.Add(new TextSpan<TextRun>(cchAcc, lastTextRun));
MS\Internal\TextFormatting\LineServicesRun.cs (1)
508internal TextRun TextRun
MS\Internal\TextFormatting\SimpleTextLine.cs (13)
896public override IList<TextSpan<TextRun>> GetTextRunSpans() 898TextSpan<TextRun>[] textRunSpans = new TextSpan<TextRun>[_runs.Length]; 902textRunSpans[i] = new TextSpan<TextRun>(_runs[i].Length, _runs[i].TextRun); 1299public TextRun TextRun; // text run 1411TextRun textRun; 1451TextRun textRun, 1511TextRun newRun; 1527TextRun mergedTextRun = new TextCharacters(characterArray, 0, lengthOfRun, textRun.Properties); 1592TextRun textRun, 1620TextRun modifedTextRun = new TextCharacters(" ", textRun.Properties); 1663TextRun textRun, 1722TextRun textRun,
MS\Internal\TextFormatting\TextMarkerSource.cs (1)
150public override TextRun GetTextRun(
MS\Internal\TextFormatting\TextProperties.cs (4)
182private TextRun _textRun; 207TextRun textRun, 241internal TextRun TextRun 403internal static Plsrun GetRunType(TextRun textRun)
MS\Internal\TextFormatting\TextRunCacheImp.cs (10)
103internal TextRun FetchTextRun( 113TextRun textRun = (TextRun)textRunSpanRider.CurrentElement; 295TextRun run = textRunSpanRider.CurrentElement as TextRun; 326internal IList<TextSpan<TextRun>> GetTextRunSpans() 328TextSpan<TextRun>[] textRunList = new TextSpan<TextRun>[_textRunVector.Count]; 333textRunList[i] = new TextSpan<TextRun>(currentSpan.length, currentSpan.element as TextRun);
MS\Internal\TextFormatting\TextStore.cs (1)
415TextRun textRun;
System\Windows\Media\FormattedText.cs (1)
1859public override TextRun GetTextRun(
System\Windows\Media\textformatting\CharacterString.cs (1)
159internal CharacterBufferRange(TextRun textRun)
System\Windows\Media\textformatting\TextBounds.cs (3)
88TextRun textRun 128public TextRun TextRun 136private TextRun _textRun;
System\Windows\Media\textformatting\TextCollapsingProperties.cs (1)
37public abstract TextRun Symbol
System\Windows\Media\textformatting\TextLine.cs (1)
193public abstract IList<TextSpan<TextRun>> GetTextRunSpans();
System\Windows\Media\textformatting\TextRunCache.cs (2)
87internal IList<TextSpan<TextRun>> GetTextRunSpans() 96return Array.Empty<TextSpan<TextRun>>();
System\Windows\Media\textformatting\TextSource.cs (1)
36public abstract TextRun GetTextRun(
System\Windows\Media\textformatting\TextTrailingCharacterEllipsis.cs (2)
29private TextRun _ellipsis; 65public sealed override TextRun Symbol
System\Windows\Media\textformatting\TextTrailingWordEllipsis.cs (2)
29private TextRun _ellipsis; 65public sealed override TextRun Symbol
PresentationFramework (56)
MS\Internal\Documents\TextBoxLine.cs (5)
76public override TextRun GetTextRun(int dcp) 78TextRun run = null; 384IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 385return (((TextSpan<TextRun>)runs[runs.Count - 1]).Value is TextEndOfParagraph); 426private TextRun HandleText(StaticTextPointer position)
MS\Internal\PtsHost\Line.cs (18)
152internal override TextRun GetTextRun(int dcp) 154TextRun run = null; 306foreach (TextSpan<TextRun> textSpan in _runs) 308TextRun run = (TextRun)textSpan.Value; 393IList<TextSpan<TextRun>> runs = _runs; 414foreach (TextSpan<TextRun> textSpan in runs) 416TextRun run = (TextRun)textSpan.Value; 680IList<TextSpan<TextRun>> spans = _line.GetTextRunSpans(); 701foreach (TextSpan<TextRun> textSpan in spans) 722foreach (TextSpan<TextRun> span in spans) 871return (((TextSpan<TextRun>)_runs[_runs.Count-1]).Value is ParagraphBreakRun); 947TextRun run = ((TextSpan<TextRun>)_runs[_runs.Count - 1]).Value as TextRun; 977foreach (TextSpan<TextRun> textSpan in _runs) 1274private IList<TextSpan<TextRun>> _runs;
MS\Internal\PtsHost\LineBase.cs (8)
51internal abstract TextRun GetTextRun(int dcp); 87protected TextRun HandleText(StaticTextPointer position) 139protected TextRun HandleElementStartEdge(StaticTextPointer position) 144TextRun run = null; 254protected TextRun HandleElementEndEdge(StaticTextPointer position) 258TextRun run; 308protected TextRun HandleEmbeddedObject(int dcp, StaticTextPointer position) 312TextRun run = null;
MS\Internal\PtsHost\ListMarkerLine.cs (1)
57internal override TextRun GetTextRun(int dcp)
MS\Internal\PtsHost\OptimalTextSource.cs (4)
100internal override TextRun GetTextRun(int dcp) 102TextRun run = null; 204foreach (TextSpan<TextRun> textSpan in _runCache.GetTextRunSpans()) 206TextRun run = textSpan.Value;
MS\Internal\PtsHost\TextFormatterHost.cs (2)
41public override TextRun GetTextRun(int textSourceCharacterIndex) 45TextRun run = Context.GetTextRun(textSourceCharacterIndex);
MS\Internal\Text\ComplexLine.cs (14)
42public override TextRun GetTextRun(int dcp) 44TextRun run = null; 159IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 164foreach (TextSpan<TextRun> textSpan in runs) 166TextRun run = textSpan.Value; 234IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 236foreach (TextSpan<TextRun> textSpan in runs) 334private TextRun HandleText(StaticTextPointer position) 384private TextRun HandleElementStartEdge(StaticTextPointer position) 389TextRun run = null; 475private TextRun HandleElementEndEdge(StaticTextPointer position) 479TextRun run = null; 525private TextRun HandleInlineObject(StaticTextPointer position, int dcp) 529TextRun run = null;
MS\Internal\Text\Line.cs (2)
425IList<TextSpan<TextRun>> runs = _line.GetTextRunSpans(); 426return (((TextSpan<TextRun>)runs[runs.Count-1]).Value is TextEndOfParagraph);
MS\Internal\Text\SimpleLine.cs (2)
37public override TextRun GetTextRun(int dcp) 41TextRun run;