16 references to Length
PresentationFramework (16)
MS\Internal\Text\ComplexLine.cs (1)
557
offset = Math.Min(_dcp + this.
Length
, offset);
System\Windows\Controls\TextBlock.cs (15)
1276
LineMetrics metrics = new LineMetrics(contentSize.Width, line.
Length
, line.Width, lineHeight, line.BaselineOffset, line.HasInlineObjects(), textLineBreakIn);
1319
dcp += line.
Length
;
1324
line.
Length
== MS.Internal.TextFormatting.TextStore.MaxCharactersPerLine)
1809
if (lineMetrics.Length == line.
Length
)
2081
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2129
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2202
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2306
MS.Internal.Invariant.Assert(GetLine(i).Length == line.
Length
, "Line length is out of sync");
2408
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2496
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
2605
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");
3280
if (line.
Length
< length) // reflow happened
3301
if (line.
Length
< length)
3317
if (line.
Length
< length)
3425
MS.Internal.Invariant.Assert(lineMetrics.Length == line.
Length
, "Line length is out of sync");