16 references to Length
PresentationFramework (16)
MS\Internal\Text\ComplexLine.cs (1)
563offset = Math.Min(_dcp + this.Length, offset);
System\Windows\Controls\TextBlock.cs (15)
1292LineMetrics metrics = new LineMetrics(contentSize.Width, line.Length, line.Width, lineHeight, line.BaselineOffset, line.HasInlineObjects(), textLineBreakIn); 1335dcp += line.Length; 1340line.Length == MS.Internal.TextFormatting.TextStore.MaxCharactersPerLine) 1828if (lineMetrics.Length == line.Length) 2103MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2151MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2224MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2328MS.Internal.Invariant.Assert(GetLine(i).Length == line.Length, "Line length is out of sync"); 2430MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2518MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2627MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 3300if (line.Length < length) // reflow happened 3321if (line.Length < length) 3337if (line.Length < length) 3445MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync");