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)
1280LineMetrics metrics = new LineMetrics(contentSize.Width, line.Length, line.Width, lineHeight, line.BaselineOffset, line.HasInlineObjects(), textLineBreakIn); 1323dcp += line.Length; 1328line.Length == MS.Internal.TextFormatting.TextStore.MaxCharactersPerLine) 1816if (lineMetrics.Length == line.Length) 2091MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2139MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2212MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2316MS.Internal.Invariant.Assert(GetLine(i).Length == line.Length, "Line length is out of sync"); 2418MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2506MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2615MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 3290if (line.Length < length) // reflow happened 3311if (line.Length < length) 3327if (line.Length < length) 3435MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync");