Implemented interface member:
property
Length
MS.Internal.TextFormatting.ITextMetrics.Length
2 overrides of Length
PresentationCore (2)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
2283public override int Length
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1023public override int Length
15 references to Length
PresentationCore (7)
Core\CSharp\System\Windows\Media\FormattedText.cs (6)
1065if (_textStorePosition + _currentLine.Length < _that._text.Length) 1075_textStorePosition + _currentLine.Length, 1118_previousLength = _currentLine.Length; 1142if (_that._trimming != TextTrimming.None && line.HasOverflowed && line.Length > 0) 1147Debug.Assert(_that._text.Length > 0 && textSourcePosition + line.Length <= _that._text.Length + 1); 1152Math.Min(textSourcePosition + line.Length - 1, _that._text.Length - 1)
Core\CSharp\System\Windows\Media\TextFormatting\TextLine.cs (1)
165nextHit = new CharacterHit(cpFirst + Length - 1, 1);
PresentationFramework (8)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (2)
396get { return _line.Length - (EndOfParagraph ? 1 : 0); } 402internal int ContentLength { get { return _line.Length - _line.NewlineLength; } }
src\Framework\MS\Internal\PtsHost\Line.cs (4)
681Debug.Assert(dcp >= 0 && (dcp + cch <= _line.Length)); 886return _line.Length; 897return _line.Length - (EndOfParagraph ? _syntheticCharacterLength : 0); 908return _line.Length - _line.NewlineLength;
src\Framework\MS\Internal\Text\Line.cs (2)
436internal int Length { get { return _line.Length - (EndOfParagraph ? _syntheticCharacterLength : 0); } } 441internal int ContentLength { get { return _line.Length - _line.NewlineLength; } }