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