1 write to _that
PresentationCore (1)
System\Windows\Media\FormattedText.cs (1)
887
_that
= text;
30 references to _that
PresentationCore (30)
System\Windows\Media\FormattedText.cs (30)
888
_that
._textSourceImpl ??= new TextSourceImplementation(
_that
);
950
if (
_that
._maxTextWidths == null)
951
return
_that
._maxTextWidth;
952
return
_that
._maxTextWidths[Math.Min(line,
_that
._maxTextWidths.Length - 1)];
964
if (
_that
._text.Length == 0)
968
_that
._textSourceImpl,
971
_that
._defaultParaProps,
976
if (_totalHeight + _currentLine.Height >
_that
._maxTextHeight)
1002
Debug.Assert(_totalHeight + _currentLine.Height <=
_that
._maxTextHeight);
1009
if (_textStorePosition + _currentLine.Length <
_that
._text.Length)
1013
if (_lineCount + 1 >=
_that
._maxLineCount)
1018
_that
._textSourceImpl,
1021
_that
._defaultParaProps,
1024
nextLineFits = (_totalHeight + _currentLine.Height + _nextLine.Height <=
_that
._maxTextHeight);
1033
if (
_that
._trimming != TextTrimming.None && !_currentLine.HasCollapsed)
1038
TextWrapping currentWrap =
_that
._defaultParaProps.TextWrapping;
1039
_that
._defaultParaProps.SetTextWrapping(TextWrapping.NoWrap);
1045
_that
._textSourceImpl,
1048
_that
._defaultParaProps,
1053
_that
._defaultParaProps.SetTextWrapping(currentWrap);
1081
if (
_that
._trimming != TextTrimming.None && line.HasOverflowed && line.Length > 0)
1086
Debug.Assert(
_that
._text.Length > 0 && textSourcePosition + line.Length <=
_that
._text.Length + 1);
1089
_that
._formatRuns,
1090
_that
._latestPosition,
1091
Math.Min(textSourcePosition + line.Length - 1,
_that
._text.Length - 1)
1098
if (
_that
._trimming == TextTrimming.CharacterEllipsis)
1102
Debug.Assert(
_that
._trimming == TextTrimming.WordEllipsis);