4 writes to Text
PresentationFramework (4)
System\Windows\Documents\FixedSOMTextRun.cs (2)
145
run.
Text
= s.Substring(startIndex, endIndex-startIndex);
153
run.
Text
= string.Create(run.Text.Length, run.Text, (destination, runText) =>
System\Windows\Documents\FixedTextBuilder.cs (2)
1665
_textRuns[i-1].
Text
= $"{_textRuns[i - 1].Text} ";
1671
run.
Text
= $"{run.Text} ";
15 references to Text
PresentationFramework (15)
System\Windows\Documents\FixedSOMFixedBlock.cs (1)
222
builder.Append(run.
Text
);
System\Windows\Documents\FixedSOMTextRun.cs (2)
153
run.Text = string.Create(run.
Text
.Length, run.
Text
, (destination, runText) =>
System\Windows\Documents\FixedTextBuilder.cs (12)
582
sb.Append(element.
Text
);
826
prevRun.
Text
,
827
currentRun.
Text
,
1591
strBuilder.Append(run.
Text
);
1661
Debug.Assert(run.EndIndex - run.StartIndex == run.
Text
.Length);
1665
_textRuns[i-1].Text = $"{_textRuns[i - 1].
Text
} ";
1669
if (addSpace && run.
Text
.Length>0 && !run.
Text
.EndsWith(" ", StringComparison.Ordinal) && !IsHyphen(run.
Text
[run.
Text
.Length - 1]))
1671
run.Text = $"{run.
Text
} ";
1689
offset += textRun.
Text
.Length;