1 write to _that
PresentationCore (1)
System\Windows\Media\FormattedText.cs (1)
888
_that
= text;
31 references to _that
PresentationCore (31)
System\Windows\Media\FormattedText.cs (31)
889
if (
_that
._textSourceImpl == null)
890
_that
._textSourceImpl = new TextSourceImplementation(
_that
);
959
if (
_that
._maxTextWidths == null)
960
return
_that
._maxTextWidth;
961
return
_that
._maxTextWidths[Math.Min(line,
_that
._maxTextWidths.Length - 1)];
973
if (
_that
._text.Length == 0)
977
_that
._textSourceImpl,
980
_that
._defaultParaProps,
985
if (_totalHeight + _currentLine.Height >
_that
._maxTextHeight)
1011
Debug.Assert(_totalHeight + _currentLine.Height <=
_that
._maxTextHeight);
1018
if (_textStorePosition + _currentLine.Length <
_that
._text.Length)
1022
if (_lineCount + 1 >=
_that
._maxLineCount)
1027
_that
._textSourceImpl,
1030
_that
._defaultParaProps,
1033
nextLineFits = (_totalHeight + _currentLine.Height + _nextLine.Height <=
_that
._maxTextHeight);
1045
if (
_that
._trimming != TextTrimming.None && !_currentLine.HasCollapsed)
1050
TextWrapping currentWrap =
_that
._defaultParaProps.TextWrapping;
1051
_that
._defaultParaProps.SetTextWrapping(TextWrapping.NoWrap);
1057
_that
._textSourceImpl,
1060
_that
._defaultParaProps,
1065
_that
._defaultParaProps.SetTextWrapping(currentWrap);
1093
if (
_that
._trimming != TextTrimming.None && line.HasOverflowed && line.Length > 0)
1098
Debug.Assert(
_that
._text.Length > 0 && textSourcePosition + line.Length <=
_that
._text.Length + 1);
1101
_that
._formatRuns,
1102
_that
._latestPosition,
1103
Math.Min(textSourcePosition + line.Length - 1,
_that
._text.Length - 1)
1110
if (
_that
._trimming == TextTrimming.CharacterEllipsis)
1114
Debug.Assert(
_that
._trimming == TextTrimming.WordEllipsis);