1 write to _that
PresentationCore (1)
Core\CSharp\System\Windows\Media\FormattedText.cs (1)
934
_that
= text;
31 references to _that
PresentationCore (31)
Core\CSharp\System\Windows\Media\FormattedText.cs (31)
935
if (
_that
._textSourceImpl == null)
936
_that
._textSourceImpl = new TextSourceImplementation(
_that
);
1005
if (
_that
._maxTextWidths == null)
1006
return
_that
._maxTextWidth;
1007
return
_that
._maxTextWidths[Math.Min(line,
_that
._maxTextWidths.Length - 1)];
1020
if (
_that
._text.Length == 0)
1024
_that
._textSourceImpl,
1027
_that
._defaultParaProps,
1032
if (_totalHeight + _currentLine.Height >
_that
._maxTextHeight)
1058
Debug.Assert(_totalHeight + _currentLine.Height <=
_that
._maxTextHeight);
1065
if (_textStorePosition + _currentLine.Length <
_that
._text.Length)
1069
if (_lineCount + 1 >=
_that
._maxLineCount)
1074
_that
._textSourceImpl,
1077
_that
._defaultParaProps,
1080
nextLineFits = (_totalHeight + _currentLine.Height + _nextLine.Height <=
_that
._maxTextHeight);
1092
if (
_that
._trimming != TextTrimming.None && !_currentLine.HasCollapsed)
1097
TextWrapping currentWrap =
_that
._defaultParaProps.TextWrapping;
1098
_that
._defaultParaProps.SetTextWrapping(TextWrapping.NoWrap);
1105
_that
._textSourceImpl,
1108
_that
._defaultParaProps,
1113
_that
._defaultParaProps.SetTextWrapping(currentWrap);
1142
if (
_that
._trimming != TextTrimming.None && line.HasOverflowed && line.Length > 0)
1147
Debug.Assert(
_that
._text.Length > 0 && textSourcePosition + line.Length <=
_that
._text.Length + 1);
1150
_that
._formatRuns,
1151
_that
._latestPosition,
1152
Math.Min(textSourcePosition + line.Length - 1,
_that
._text.Length - 1)
1159
if (
_that
._trimming == TextTrimming.CharacterEllipsis)
1163
Debug.Assert(
_that
._trimming == TextTrimming.WordEllipsis);