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