23 references to Length
PresentationCore (23)
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (2)
193cch = Math.Min(cch, itemSpanRider.Length); 405int cch = Math.Min(unicodeString.Length - ich, typefaceSpanRider.Length);
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (2)
1451lscpVisisble += plsrunSpanRider.Length; // move to start of next span 2037int cch = Math.Min(plsrunSpanRider.Length, cchLeft);
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (3)
175textRunSpanRider.CurrentPosition + textRunSpanRider.Length - cpFetch, 195runLength = textRunSpanRider.Length; 279&& (textRunSpanRider.Length > 0 && textRunSpanRider.CurrentElement != null),
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (5)
795lsrunLength = rider.Length; 851if (runInfoSpanRider.Length >= stringLength) 882cch = runInfoSpanRider.Length; 1319int spanLength = Math.Min(runInfoSpanRider.Length, textEffectsSpanRider.Length);
Core\CSharp\System\Windows\Media\FormattedText.cs (11)
354i = Math.Min(limit, i + formatRider.Length); 430i = Math.Min(limit, i + formatRider.Length); 485i = Math.Min(limit, i + formatRider.Length); 538i = Math.Min(limit, i + formatRider.Length); 597i = Math.Min(limit, i + formatRider.Length); 656i = Math.Min(limit, i + formatRider.Length); 708i = Math.Min(limit, i + formatRider.Length); 761i = Math.Min(limit, i + formatRider.Length); 814i = Math.Min(limit, i + formatRider.Length); 866i = Math.Min(limit, i + formatRider.Length); 1894thatFormatRider.Length,