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