1 write to _that
PresentationCore (1)
System\Windows\Media\FormattedText.cs (1)
887
_that
= text;
31 references to _that
PresentationCore (31)
System\Windows\Media\FormattedText.cs (31)
888
if (
_that
._textSourceImpl == null)
889
_that
._textSourceImpl = new TextSourceImplementation(
_that
);
958
if (
_that
._maxTextWidths == null)
959
return
_that
._maxTextWidth;
960
return
_that
._maxTextWidths[Math.Min(line,
_that
._maxTextWidths.Length - 1)];
972
if (
_that
._text.Length == 0)
976
_that
._textSourceImpl,
979
_that
._defaultParaProps,
984
if (_totalHeight + _currentLine.Height >
_that
._maxTextHeight)
1010
Debug.Assert(_totalHeight + _currentLine.Height <=
_that
._maxTextHeight);
1017
if (_textStorePosition + _currentLine.Length <
_that
._text.Length)
1021
if (_lineCount + 1 >=
_that
._maxLineCount)
1026
_that
._textSourceImpl,
1029
_that
._defaultParaProps,
1032
nextLineFits = (_totalHeight + _currentLine.Height + _nextLine.Height <=
_that
._maxTextHeight);
1044
if (
_that
._trimming != TextTrimming.None && !_currentLine.HasCollapsed)
1049
TextWrapping currentWrap =
_that
._defaultParaProps.TextWrapping;
1050
_that
._defaultParaProps.SetTextWrapping(TextWrapping.NoWrap);
1056
_that
._textSourceImpl,
1059
_that
._defaultParaProps,
1064
_that
._defaultParaProps.SetTextWrapping(currentWrap);
1092
if (
_that
._trimming != TextTrimming.None && line.HasOverflowed && line.Length > 0)
1097
Debug.Assert(
_that
._text.Length > 0 && textSourcePosition + line.Length <=
_that
._text.Length + 1);
1100
_that
._formatRuns,
1101
_that
._latestPosition,
1102
Math.Min(textSourcePosition + line.Length - 1,
_that
._text.Length - 1)
1109
if (
_that
._trimming == TextTrimming.CharacterEllipsis)
1113
Debug.Assert(
_that
._trimming == TextTrimming.WordEllipsis);