23 references to Length
PresentationCore (23)
MS\Internal\Shaping\TypefaceMap.cs (2)
185cch = Math.Min(cch, itemSpanRider.Length); 396int cch = Math.Min(unicodeString.Length - ich, typefaceSpanRider.Length);
MS\Internal\TextFormatting\FullTextLine.cs (2)
1418lscpVisisble += plsrunSpanRider.Length; // move to start of next span 2001int cch = Math.Min(plsrunSpanRider.Length, cchLeft);
MS\Internal\TextFormatting\TextRunCacheImp.cs (3)
169textRunSpanRider.CurrentPosition + textRunSpanRider.Length - cpFetch, 189runLength = textRunSpanRider.Length; 273&& (textRunSpanRider.Length > 0 && textRunSpanRider.CurrentElement != null),
MS\Internal\TextFormatting\TextStore.cs (5)
784lsrunLength = rider.Length; 840if (runInfoSpanRider.Length >= stringLength) 871cch = runInfoSpanRider.Length; 1308int spanLength = Math.Min(runInfoSpanRider.Length, textEffectsSpanRider.Length);
System\Windows\Media\FormattedText.cs (11)
344i = Math.Min(limit, i + formatRider.Length); 418i = Math.Min(limit, i + formatRider.Length); 473i = Math.Min(limit, i + formatRider.Length); 526i = Math.Min(limit, i + formatRider.Length); 585i = Math.Min(limit, i + formatRider.Length); 644i = Math.Min(limit, i + formatRider.Length); 696i = Math.Min(limit, i + formatRider.Length); 749i = Math.Min(limit, i + formatRider.Length); 802i = Math.Min(limit, i + formatRider.Length); 854i = Math.Min(limit, i + formatRider.Length); 1877thatFormatRider.Length,