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)
2050public override IList<TextSpan<TextRun>> GetTextRunSpans() 2060return Array.Empty<TextSpan<TextRun>>(); 2063List<TextSpan<TextRun>> lsrunList = new List<TextSpan<TextRun>>(2); 2065TextRun lastTextRun = null; 2078TextRun textRun = ((LSRun)GetRun((Plsrun)plsrunSpan.element)).TextRun; 2084lsrunList.Add(new TextSpan<TextRun>(cchAcc, lastTextRun)); 2097lsrunList.Add(new TextSpan<TextRun>(cchAcc, lastTextRun));
MS\Internal\TextFormatting\LineServicesRun.cs (1)
494internal TextRun TextRun
MS\Internal\TextFormatting\SimpleTextLine.cs (13)
881public override IList<TextSpan<TextRun>> GetTextRunSpans() 883TextSpan<TextRun>[] textRunSpans = new TextSpan<TextRun>[_runs.Length]; 887textRunSpans[i] = new TextSpan<TextRun>(_runs[i].Length, _runs[i].TextRun); 1284public TextRun TextRun; // text run 1396TextRun textRun; 1436TextRun textRun, 1496TextRun newRun; 1512TextRun mergedTextRun = new TextCharacters(characterArray, 0, lengthOfRun, textRun.Properties); 1577TextRun textRun, 1605TextRun modifedTextRun = new TextCharacters(" ", textRun.Properties); 1650TextRun textRun, 1711TextRun 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)
1823public 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)
79internal IList<TextSpan<TextRun>> GetTextRunSpans() 88return 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)
135internal override TextRun GetTextRun(int dcp) 137TextRun run = null; 289foreach (TextSpan<TextRun> textSpan in _runs) 291TextRun run = (TextRun)textSpan.Value; 376IList<TextSpan<TextRun>> runs = _runs; 397foreach (TextSpan<TextRun> textSpan in runs) 399TextRun run = (TextRun)textSpan.Value; 662IList<TextSpan<TextRun>> spans = _line.GetTextRunSpans(); 683foreach (TextSpan<TextRun> textSpan in spans) 704foreach (TextSpan<TextRun> span in spans) 853return (((TextSpan<TextRun>)_runs[_runs.Count-1]).Value is ParagraphBreakRun); 929TextRun run = ((TextSpan<TextRun>)_runs[_runs.Count - 1]).Value as TextRun; 959foreach (TextSpan<TextRun> textSpan in _runs) 1251private IList<TextSpan<TextRun>> _runs;
MS\Internal\PtsHost\LineBase.cs (8)
41internal abstract TextRun GetTextRun(int dcp); 77protected TextRun HandleText(StaticTextPointer position) 129protected TextRun HandleElementStartEdge(StaticTextPointer position) 134TextRun run = null; 244protected TextRun HandleElementEndEdge(StaticTextPointer position) 248TextRun run; 298protected TextRun HandleEmbeddedObject(int dcp, StaticTextPointer position) 302TextRun run = null;
MS\Internal\PtsHost\ListMarkerLine.cs (1)
50internal override TextRun GetTextRun(int dcp)
MS\Internal\PtsHost\OptimalTextSource.cs (4)
85internal override TextRun GetTextRun(int dcp) 87TextRun run = null; 189foreach (TextSpan<TextRun> textSpan in _runCache.GetTextRunSpans()) 191TextRun 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;