13 references to Length
PresentationFramework (13)
src\Framework\MS\Internal\Text\ComplexLine.cs (1)
570offset = Math.Min(_dcp + this.Length, offset);
src\Framework\System\Windows\Controls\TextBlock.cs (12)
1372LineMetrics metrics = new LineMetrics(line.Length, line.Width, lineHeight, line.BaselineOffset, line.HasInlineObjects(), textLineBreakIn); 1413dcp += line.Length; 1418line.Length == MS.Internal.TextFormatting.TextStore.MaxCharactersPerLine) 1916if (lineMetrics.Length == line.Length) 2191MS.Internal.Invariant.Assert(GetLine(index).Length == line.Length, "Line length is out of sync"); 2238MS.Internal.Invariant.Assert(GetLine(index).Length == line.Length, "Line length is out of sync"); 2312MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2416MS.Internal.Invariant.Assert(GetLine(i).Length == line.Length, "Line length is out of sync"); 2518MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2607MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 2716MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync"); 3434MS.Internal.Invariant.Assert(lineMetrics.Length == line.Length, "Line length is out of sync");