4 writes to Text
PresentationFramework (4)
System\Windows\Documents\FixedSOMTextRun.cs (2)
146
run.
Text
= s.Substring(startIndex, endIndex-startIndex);
154
run.
Text
= string.Create(run.Text.Length, run.Text, (destination, runText) =>
System\Windows\Documents\FixedTextBuilder.cs (2)
1660
_textRuns[i-1].
Text
= $"{_textRuns[i - 1].Text} ";
1666
run.
Text
= $"{run.Text} ";
15 references to Text
PresentationFramework (15)
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
221
builder.Append(run.
Text
);
System\Windows\Documents\FixedSOMTextRun.cs (2)
154
run.Text = string.Create(run.
Text
.Length, run.
Text
, (destination, runText) =>
System\Windows\Documents\FixedTextBuilder.cs (12)
581
sb.Append(element.
Text
);
825
prevRun.
Text
,
826
currentRun.
Text
,
1586
strBuilder.Append(run.
Text
);
1656
Debug.Assert(run.EndIndex - run.StartIndex == run.
Text
.Length);
1660
_textRuns[i-1].Text = $"{_textRuns[i - 1].
Text
} ";
1664
if (addSpace && run.
Text
.Length>0 && !run.
Text
.EndsWith(" ", StringComparison.Ordinal) && !IsHyphen(run.
Text
[run.
Text
.Length - 1]))
1666
run.Text = $"{run.
Text
} ";
1686
offset += textRun.
Text
.Length;