23 references to Length
PresentationCore (23)
MS\Internal\Shaping\TypefaceMap.cs (2)
176cch = Math.Min(cch, itemSpanRider.Length); 387int cch = Math.Min(unicodeString.Length - ich, typefaceSpanRider.Length);
MS\Internal\TextFormatting\FullTextLine.cs (2)
1404lscpVisisble += plsrunSpanRider.Length; // move to start of next span 1987int cch = Math.Min(plsrunSpanRider.Length, cchLeft);
MS\Internal\TextFormatting\TextRunCacheImp.cs (3)
154textRunSpanRider.CurrentPosition + textRunSpanRider.Length - cpFetch, 174runLength = textRunSpanRider.Length; 258&& (textRunSpanRider.Length > 0 && textRunSpanRider.CurrentElement != null),
MS\Internal\TextFormatting\TextStore.cs (5)
768lsrunLength = rider.Length; 824if (runInfoSpanRider.Length >= stringLength) 855cch = runInfoSpanRider.Length; 1292int spanLength = Math.Min(runInfoSpanRider.Length, textEffectsSpanRider.Length);
System\Windows\Media\FormattedText.cs (11)
324i = Math.Min(limit, i + formatRider.Length); 397i = Math.Min(limit, i + formatRider.Length); 451i = Math.Min(limit, i + formatRider.Length); 503i = Math.Min(limit, i + formatRider.Length); 561i = Math.Min(limit, i + formatRider.Length); 619i = Math.Min(limit, i + formatRider.Length); 669i = Math.Min(limit, i + formatRider.Length); 720i = Math.Min(limit, i + formatRider.Length); 771i = Math.Min(limit, i + formatRider.Length); 821i = Math.Min(limit, i + formatRider.Length); 1840thatFormatRider.Length,