1 write to _that
PresentationCore (1)
System\Windows\Media\FormattedText.cs (1)
922
_that
= text;
31 references to _that
PresentationCore (31)
System\Windows\Media\FormattedText.cs (31)
923
if (
_that
._textSourceImpl == null)
924
_that
._textSourceImpl = new TextSourceImplementation(
_that
);
993
if (
_that
._maxTextWidths == null)
994
return
_that
._maxTextWidth;
995
return
_that
._maxTextWidths[Math.Min(line,
_that
._maxTextWidths.Length - 1)];
1007
if (
_that
._text.Length == 0)
1011
_that
._textSourceImpl,
1014
_that
._defaultParaProps,
1019
if (_totalHeight + _currentLine.Height >
_that
._maxTextHeight)
1045
Debug.Assert(_totalHeight + _currentLine.Height <=
_that
._maxTextHeight);
1052
if (_textStorePosition + _currentLine.Length <
_that
._text.Length)
1056
if (_lineCount + 1 >=
_that
._maxLineCount)
1061
_that
._textSourceImpl,
1064
_that
._defaultParaProps,
1067
nextLineFits = (_totalHeight + _currentLine.Height + _nextLine.Height <=
_that
._maxTextHeight);
1079
if (
_that
._trimming != TextTrimming.None && !_currentLine.HasCollapsed)
1084
TextWrapping currentWrap =
_that
._defaultParaProps.TextWrapping;
1085
_that
._defaultParaProps.SetTextWrapping(TextWrapping.NoWrap);
1092
_that
._textSourceImpl,
1095
_that
._defaultParaProps,
1100
_that
._defaultParaProps.SetTextWrapping(currentWrap);
1129
if (
_that
._trimming != TextTrimming.None && line.HasOverflowed && line.Length > 0)
1134
Debug.Assert(
_that
._text.Length > 0 && textSourcePosition + line.Length <=
_that
._text.Length + 1);
1137
_that
._formatRuns,
1138
_that
._latestPosition,
1139
Math.Min(textSourcePosition + line.Length - 1,
_that
._text.Length - 1)
1146
if (
_that
._trimming == TextTrimming.CharacterEllipsis)
1150
Debug.Assert(
_that
._trimming == TextTrimming.WordEllipsis);