16 references to Length
PresentationFramework (16)
MS\Internal\Text\ComplexLine.cs (1)
558
offset = Math.Min(_dcp + this.
Length
, offset);
System\Windows\Controls\TextBlock.cs (15)
1280
LineMetrics metrics = new LineMetrics(contentSize.Width, line.
Length
, line.Width, lineHeight, line.BaselineOffset, line.HasInlineObjects(), textLineBreakIn);
1323
dcp += line.
Length
;
1328
line.
Length
== MS.Internal.TextFormatting.TextStore.MaxCharactersPerLine)
1816
if (lineMetrics.Length == line.
Length
)
2091
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2139
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2212
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2316
MS.Internal.Invariant.Assert(GetLine(i).Length == line.
Length
, "Line length is out of sync");
2418
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2506
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2615
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
3290
if (line.
Length
< length) // reflow happened
3311
if (line.
Length
< length)
3327
if (line.
Length
< length)
3435
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");