16 references to Length
PresentationFramework (16)
MS\Internal\Text\ComplexLine.cs (1)
563
offset = Math.Min(_dcp + this.
Length
, offset);
System\Windows\Controls\TextBlock.cs (15)
1292
LineMetrics metrics = new LineMetrics(contentSize.Width, line.
Length
, line.Width, lineHeight, line.BaselineOffset, line.HasInlineObjects(), textLineBreakIn);
1335
dcp += line.
Length
;
1340
line.
Length
== MS.Internal.TextFormatting.TextStore.MaxCharactersPerLine)
1828
if (lineMetrics.Length == line.
Length
)
2103
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2151
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2224
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2328
MS.Internal.Invariant.Assert(GetLine(i).Length == line.
Length
, "Line length is out of sync");
2430
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2518
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2627
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
3300
if (line.
Length
< length) // reflow happened
3321
if (line.
Length
< length)
3337
if (line.
Length
< length)
3445
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");