8 overrides of Length
PresentationCore (5)
MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
88public sealed override int Length
System\Windows\Media\textformatting\TextCharacters.cs (1)
147public sealed override int Length
System\Windows\Media\textformatting\TextEndOfLine.cs (1)
67public sealed override int Length
System\Windows\Media\textformatting\TextEndOfSegment.cs (1)
51public sealed override int Length
System\Windows\Media\textformatting\TextHidden.cs (1)
53public sealed override int Length
PresentationFramework (3)
MS\Internal\PtsHost\RunClient.cs (1)
111public override int Length { get { return _cch; } }
MS\Internal\Text\InlineObject.cs (1)
109public override int Length { get { return _cch; } }
MS\Internal\Text\TextSpanModifier.cs (1)
53public sealed override int Length
14 references to Length
PresentationCore (8)
MS\Internal\TextFormatting\FormattedTextSymbols.cs (2)
54textSymbols.Length, 87int cch = current.Length;
MS\Internal\TextFormatting\TextRunCacheImp.cs (3)
106ArgumentOutOfRangeException.ThrowIfNegativeOrZero(textRun.Length, "textRun.Length"); 145textRunSpanRider.At(cpFetch + textRun.Length - 1); 160_latestPosition = _textRunVector.SetReference(cpFetch, textRun.Length, textRun, _latestPosition);
MS\Internal\TextFormatting\TextStore.cs (2)
1707int cch = shapeable.Length; 2365_textObjectMetricsVector.SetReference(cpFirst, textObject.Length, metrics);
System\Windows\Media\textformatting\CharacterString.cs (1)
157_length = textRun.Length;
PresentationFramework (6)
MS\Internal\Documents\TextBoxLine.cs (1)
91Invariant.Assert(run.Length > 0, "TextRun has to have positive length.");
MS\Internal\PtsHost\Line.cs (2)
163Invariant.Assert(run.Length > 0, "TextRun has to have positive length."); 402Rect rect = GetBoundsFromPosition(dcpRun, run.Length, out flowDirection);
MS\Internal\PtsHost\OptimalTextSource.cs (2)
113Invariant.Assert(run.Length > 0, "TextRun has to have positive length."); 193if (run != null && ((dcpRun + run.Length) >= (dcp + textBreakpoint.Length)))
MS\Internal\Text\ComplexLine.cs (1)
64Debug.Assert(run.Length > 0, "TextRun has to have positive length.");