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