16 references to Length
PresentationFramework (16)
MS\Internal\Text\ComplexLine.cs (1)
558offset = Math.Min(_dcp + this.Length, offset);
System\Windows\Controls\TextBlock.cs (15)
1277LineMetrics metrics = new LineMetrics(contentSize.Width, line.Length, line.Width, lineHeight, line.BaselineOffset, line.HasInlineObjects(), textLineBreakIn); 1320dcp += line.Length; 1325line.Length == MS.Internal.TextFormatting.TextStore.MaxCharactersPerLine) 1810if (lineMetrics.Length == line.Length) 2082MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2130MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2203MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2307MS.Internal.Invariant.Assert(GetLine(i).Length == line.Length, "Line length is out of sync"); 2409MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2497MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2606MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 3281if (line.Length < length) // reflow happened 3302if (line.Length < length) 3318if (line.Length < length) 3426MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync");