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)
1403lscpVisisble += plsrunSpanRider.Length; // move to start of next span 1986int 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)
328i = Math.Min(limit, i + formatRider.Length); 402i = Math.Min(limit, i + formatRider.Length); 457i = Math.Min(limit, i + formatRider.Length); 510i = Math.Min(limit, i + formatRider.Length); 569i = Math.Min(limit, i + formatRider.Length); 628i = Math.Min(limit, i + formatRider.Length); 680i = Math.Min(limit, i + formatRider.Length); 733i = Math.Min(limit, i + formatRider.Length); 786i = Math.Min(limit, i + formatRider.Length); 838i = Math.Min(limit, i + formatRider.Length); 1861thatFormatRider.Length,