23 references to Length
PresentationCore (23)
MS\Internal\Shaping\TypefaceMap.cs (2)
177cch = Math.Min(cch, itemSpanRider.Length); 388int cch = Math.Min(unicodeString.Length - ich, typefaceSpanRider.Length);
MS\Internal\TextFormatting\FullTextLine.cs (2)
1405lscpVisisble += plsrunSpanRider.Length; // move to start of next span 1988int cch = Math.Min(plsrunSpanRider.Length, cchLeft);
MS\Internal\TextFormatting\TextRunCacheImp.cs (3)
155textRunSpanRider.CurrentPosition + textRunSpanRider.Length - cpFetch, 175runLength = textRunSpanRider.Length; 259&& (textRunSpanRider.Length > 0 && textRunSpanRider.CurrentElement != null),
MS\Internal\TextFormatting\TextStore.cs (5)
769lsrunLength = rider.Length; 825if (runInfoSpanRider.Length >= stringLength) 856cch = runInfoSpanRider.Length; 1293int spanLength = Math.Min(runInfoSpanRider.Length, textEffectsSpanRider.Length);
System\Windows\Media\FormattedText.cs (11)
325i = Math.Min(limit, i + formatRider.Length); 398i = Math.Min(limit, i + formatRider.Length); 452i = Math.Min(limit, i + formatRider.Length); 504i = Math.Min(limit, i + formatRider.Length); 562i = Math.Min(limit, i + formatRider.Length); 620i = Math.Min(limit, i + formatRider.Length); 670i = Math.Min(limit, i + formatRider.Length); 721i = Math.Min(limit, i + formatRider.Length); 772i = Math.Min(limit, i + formatRider.Length); 822i = Math.Min(limit, i + formatRider.Length); 1843thatFormatRider.Length,