Implemented interface member:
property
Length
MS.Internal.TextFormatting.ITextMetrics.Length
2 overrides of Length
PresentationCore (2)
MS\Internal\TextFormatting\FullTextLine.cs (1)
2222public override int Length
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1000public override int Length
15 references to Length
PresentationCore (7)
System\Windows\Media\FormattedText.cs (6)
1018if (_textStorePosition + _currentLine.Length < _that._text.Length) 1028_textStorePosition + _currentLine.Length, 1071_previousLength = _currentLine.Length; 1095if (_that._trimming != TextTrimming.None && line.HasOverflowed && line.Length > 0) 1100Debug.Assert(_that._text.Length > 0 && textSourcePosition + line.Length <= _that._text.Length + 1); 1105Math.Min(textSourcePosition + line.Length - 1, _that._text.Length - 1)
System\Windows\Media\textformatting\TextLine.cs (1)
152nextHit = new CharacterHit(cpFirst + Length - 1, 1);
PresentationFramework (8)
MS\Internal\Documents\TextBoxLine.cs (2)
387get { return _line.Length - (EndOfParagraph ? 1 : 0); } 393internal int ContentLength { get { return _line.Length - _line.NewlineLength; } }
MS\Internal\PtsHost\Line.cs (4)
663Debug.Assert(dcp >= 0 && (dcp + cch <= _line.Length)); 868return _line.Length; 879return _line.Length - (EndOfParagraph ? _syntheticCharacterLength : 0); 890return _line.Length - _line.NewlineLength;
MS\Internal\Text\Line.cs (2)
426internal int Length { get { return _line.Length - (EndOfParagraph ? _syntheticCharacterLength : 0); } } 431internal int ContentLength { get { return _line.Length - _line.NewlineLength; } }