8 overrides of Length
PresentationCore (5)
MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
89public sealed override int Length
System\Windows\Media\textformatting\TextCharacters.cs (1)
148public sealed override int Length
System\Windows\Media\textformatting\TextEndOfLine.cs (1)
68public sealed override int Length
System\Windows\Media\textformatting\TextEndOfSegment.cs (1)
52public sealed override int Length
System\Windows\Media\textformatting\TextHidden.cs (1)
54public sealed override int Length
PresentationFramework (3)
MS\Internal\PtsHost\RunClient.cs (1)
112public override int Length { get { return _cch; } }
MS\Internal\Text\InlineObject.cs (1)
110public override int Length { get { return _cch; } }
MS\Internal\Text\TextSpanModifier.cs (1)
54public sealed override int Length
14 references to Length
PresentationCore (8)
MS\Internal\TextFormatting\FormattedTextSymbols.cs (2)
55textSymbols.Length, 88int cch = current.Length;
MS\Internal\TextFormatting\TextRunCacheImp.cs (3)
107ArgumentOutOfRangeException.ThrowIfNegativeOrZero(textRun.Length, "textRun.Length"); 146textRunSpanRider.At(cpFetch + textRun.Length - 1); 161_latestPosition = _textRunVector.SetReference(cpFetch, textRun.Length, textRun, _latestPosition);
MS\Internal\TextFormatting\TextStore.cs (2)
1708int cch = shapeable.Length; 2366_textObjectMetricsVector.SetReference(cpFirst, textObject.Length, metrics);
System\Windows\Media\textformatting\CharacterString.cs (1)
158_length = textRun.Length;
PresentationFramework (6)
MS\Internal\Documents\TextBoxLine.cs (1)
92Invariant.Assert(run.Length > 0, "TextRun has to have positive length.");
MS\Internal\PtsHost\Line.cs (2)
175Invariant.Assert(run.Length > 0, "TextRun has to have positive length."); 415Rect rect = GetBoundsFromPosition(dcpRun, run.Length, out flowDirection);
MS\Internal\PtsHost\OptimalTextSource.cs (2)
122Invariant.Assert(run.Length > 0, "TextRun has to have positive length."); 202if (run != null && ((dcpRun + run.Length) >= (dcp + textBreakpoint.Length)))
MS\Internal\Text\ComplexLine.cs (1)
65Debug.Assert(run.Length > 0, "TextRun has to have positive length.");