8 overrides of Length
PresentationCore (5)
MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
97
public sealed override int
Length
System\Windows\Media\textformatting\TextCharacters.cs (1)
157
public sealed override int
Length
System\Windows\Media\textformatting\TextEndOfLine.cs (1)
75
public sealed override int
Length
System\Windows\Media\textformatting\TextEndOfSegment.cs (1)
60
public sealed override int
Length
System\Windows\Media\textformatting\TextHidden.cs (1)
61
public sealed override int
Length
PresentationFramework (3)
MS\Internal\PtsHost\RunClient.cs (1)
115
public override int
Length
{ get { return _cch; } }
MS\Internal\Text\InlineObject.cs (1)
113
public override int
Length
{ get { return _cch; } }
MS\Internal\Text\TextSpanModifier.cs (1)
56
public sealed override int
Length
14 references to Length
PresentationCore (8)
MS\Internal\TextFormatting\FormattedTextSymbols.cs (2)
63
textSymbols.
Length
,
96
int cch = current.
Length
;
MS\Internal\TextFormatting\TextRunCacheImp.cs (3)
121
ArgumentOutOfRangeException.ThrowIfNegativeOrZero(textRun.
Length
, "textRun.Length");
160
textRunSpanRider.At(cpFetch + textRun.
Length
- 1);
175
_latestPosition = _textRunVector.SetReference(cpFetch, textRun.
Length
, textRun, _latestPosition);
MS\Internal\TextFormatting\TextStore.cs (2)
1723
int cch = shapeable.
Length
;
2381
_textObjectMetricsVector.SetReference(cpFirst, textObject.
Length
, metrics);
System\Windows\Media\textformatting\CharacterString.cs (1)
162
_length = textRun.
Length
;
PresentationFramework (6)
MS\Internal\Documents\TextBoxLine.cs (1)
99
Invariant.Assert(run.
Length
> 0, "TextRun has to have positive length.");
MS\Internal\PtsHost\Line.cs (2)
181
Invariant.Assert(run.
Length
> 0, "TextRun has to have positive length.");
421
Rect rect = GetBoundsFromPosition(dcpRun, run.
Length
, out flowDirection);
MS\Internal\PtsHost\OptimalTextSource.cs (2)
129
Invariant.Assert(run.
Length
> 0, "TextRun has to have positive length.");
209
if (run != null && ((dcpRun + run.
Length
) >= (dcp + textBreakpoint.Length)))
MS\Internal\Text\ComplexLine.cs (1)
70
Debug.Assert(run.
Length
> 0, "TextRun has to have positive length.");