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)
1277
LineMetrics metrics = new LineMetrics(contentSize.Width, line.
Length
, line.Width, lineHeight, line.BaselineOffset, line.HasInlineObjects(), textLineBreakIn);
1320
dcp += line.
Length
;
1325
line.
Length
== MS.Internal.TextFormatting.TextStore.MaxCharactersPerLine)
1810
if (lineMetrics.Length == line.
Length
)
2082
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2130
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2203
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2307
MS.Internal.Invariant.Assert(GetLine(i).Length == line.
Length
, "Line length is out of sync");
2409
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2497
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2606
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
3281
if (line.
Length
< length) // reflow happened
3302
if (line.
Length
< length)
3318
if (line.
Length
< length)
3426
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");