16 references to Length
PresentationFramework (16)
MS\Internal\Text\ComplexLine.cs (1)
557offset = Math.Min(_dcp + this.Length, offset);
System\Windows\Controls\TextBlock.cs (15)
1276LineMetrics metrics = new LineMetrics(contentSize.Width, line.Length, line.Width, lineHeight, line.BaselineOffset, line.HasInlineObjects(), textLineBreakIn); 1319dcp += line.Length; 1324line.Length == MS.Internal.TextFormatting.TextStore.MaxCharactersPerLine) 1809if (lineMetrics.Length == line.Length) 2081MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2129MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2202MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2306MS.Internal.Invariant.Assert(GetLine(i).Length == line.Length, "Line length is out of sync"); 2408MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2496MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2605MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 3280if (line.Length < length) // reflow happened 3301if (line.Length < length) 3317if (line.Length < length) 3425MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync");