8 overrides of Length
PresentationCore (5)
Core\CSharp\MS\Internal\TextFormatting\TextShapeableCharacters.cs (1)
100public sealed override int Length
Core\CSharp\System\Windows\Media\TextFormatting\TextCharacters.cs (1)
175public sealed override int Length
Core\CSharp\System\Windows\Media\TextFormatting\TextEndOfLine.cs (1)
79public sealed override int Length
Core\CSharp\System\Windows\Media\TextFormatting\TextEndOfSegment.cs (1)
64public sealed override int Length
Core\CSharp\System\Windows\Media\TextFormatting\TextHidden.cs (1)
67public sealed override int Length
PresentationFramework (3)
src\Framework\MS\Internal\PtsHost\RunClient.cs (1)
118public override int Length { get { return _cch; } }
src\Framework\MS\Internal\Text\InlineObject.cs (1)
117public override int Length { get { return _cch; } }
src\Framework\MS\Internal\Text\TextSpanModifier.cs (1)
64public sealed override int Length
14 references to Length
PresentationCore (8)
Core\CSharp\MS\Internal\TextFormatting\FormattedTextSymbols.cs (2)
72textSymbols.Length, 105int cch = current.Length;
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (3)
124if (textRun.Length < 1) 166textRunSpanRider.At(cpFetch + textRun.Length - 1); 181_latestPosition = _textRunVector.SetReference(cpFetch, textRun.Length, textRun, _latestPosition);
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (2)
1731int cch = shapeable.Length; 2391_textObjectMetricsVector.SetReference(cpFirst, textObject.Length, metrics);
Core\CSharp\System\Windows\Media\TextFormatting\CharacterString.cs (1)
176_length = textRun.Length;
PresentationFramework (6)
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
101Invariant.Assert(run.Length > 0, "TextRun has to have positive length.");
src\Framework\MS\Internal\PtsHost\Line.cs (2)
184Invariant.Assert(run.Length > 0, "TextRun has to have positive length."); 424Rect rect = GetBoundsFromPosition(dcpRun, run.Length, out flowDirection);
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (2)
133Invariant.Assert(run.Length > 0, "TextRun has to have positive length."); 213if (run != null && ((dcpRun + run.Length) >= (dcp + textBreakpoint.Length)))
src\Framework\MS\Internal\Text\ComplexLine.cs (1)
73Debug.Assert(run.Length > 0, "TextRun has to have positive length.");