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