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