32 references to CurrentElement
PresentationCore (32)
MS\Internal\Shaping\TypefaceMap.cs (2)
198(MS.Internal.Text.TextInterface.ItemProps)itemSpanRider.CurrentElement, 398int index = IndexOfScaledTypeface((ScaledShapeTypeface)typefaceSpanRider.CurrentElement);
MS\Internal\TextFormatting\FullTextLine.cs (4)
1410LSRun run = GetRun((Plsrun) plsrunSpanRider.CurrentElement); 1430LSRun run = GetRun((Plsrun) plsrunSpanRider.CurrentElement); 2000Plsrun plsrun = (Plsrun)plsrunSpanRider.CurrentElement; 2725offsetToFirstCp = GetRun(((Plsrun)plsrunSpanRider.CurrentElement)).OffsetToFirstCp;
MS\Internal\TextFormatting\TextRunCacheImp.cs (4)
113TextRun textRun = (TextRun)textRunSpanRider.CurrentElement; 163if (textRunSpanRider.CurrentElement != _textRunVector.Default) 273&& (textRunSpanRider.Length > 0 && textRunSpanRider.CurrentElement != null), 295TextRun run = textRunSpanRider.CurrentElement as TextRun;
MS\Internal\TextFormatting\TextStore.cs (9)
761plsrun = (Plsrun)rider.CurrentElement; 799return GetRun((Plsrun)rider.CurrentElement).BidiLevel; 843TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.CurrentElement; 872TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.CurrentElement; 1313TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.CurrentElement; 1314IList<TextEffect> textEffects = (IList<TextEffect>)textEffectsSpanRider.CurrentElement; 1828return GetRun((Plsrun)rider.CurrentElement).OffsetToFirstCp + 2141lsrun = GetRun((Plsrun)rider.CurrentElement); 2349TextEmbeddedObjectMetrics metrics = (TextEmbeddedObjectMetrics)rider.CurrentElement;
System\Windows\Media\FormattedText.cs (13)
349GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 423GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 478GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 531GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 590GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 649GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 701GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 754GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 807GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 859GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 1142GenericTextRunProperties lastRunProps = thatFormatRider.CurrentElement as GenericTextRunProperties; 1874TextRunProperties properties = thatFormatRider.CurrentElement as GenericTextRunProperties; 1910culture = ((TextRunProperties)thatFormatRider.CurrentElement).CultureInfo;