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