32 references to CurrentElement
PresentationCore (32)
MS\Internal\Shaping\TypefaceMap.cs (2)
189(MS.Internal.Text.TextInterface.ItemProps)itemSpanRider.CurrentElement, 389int index = IndexOfScaledTypeface((ScaledShapeTypeface)typefaceSpanRider.CurrentElement);
MS\Internal\TextFormatting\FullTextLine.cs (4)
1396LSRun run = GetRun((Plsrun) plsrunSpanRider.CurrentElement); 1416LSRun run = GetRun((Plsrun) plsrunSpanRider.CurrentElement); 1986Plsrun plsrun = (Plsrun)plsrunSpanRider.CurrentElement; 2711offsetToFirstCp = GetRun(((Plsrun)plsrunSpanRider.CurrentElement)).OffsetToFirstCp;
MS\Internal\TextFormatting\TextRunCacheImp.cs (4)
98TextRun textRun = (TextRun)textRunSpanRider.CurrentElement; 148if (textRunSpanRider.CurrentElement != _textRunVector.Default) 258&& (textRunSpanRider.Length > 0 && textRunSpanRider.CurrentElement != null), 280TextRun run = textRunSpanRider.CurrentElement as TextRun;
MS\Internal\TextFormatting\TextStore.cs (9)
745plsrun = (Plsrun)rider.CurrentElement; 783return GetRun((Plsrun)rider.CurrentElement).BidiLevel; 827TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.CurrentElement; 856TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.CurrentElement; 1297TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.CurrentElement; 1298IList<TextEffect> textEffects = (IList<TextEffect>)textEffectsSpanRider.CurrentElement; 1812return GetRun((Plsrun)rider.CurrentElement).OffsetToFirstCp + 2125lsrun = GetRun((Plsrun)rider.CurrentElement); 2333TextEmbeddedObjectMetrics metrics = (TextEmbeddedObjectMetrics)rider.CurrentElement;
System\Windows\Media\FormattedText.cs (13)
328GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 401GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 455GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 507GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 565GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 623GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 673GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 724GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 775GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 825GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 1105GenericTextRunProperties lastRunProps = thatFormatRider.CurrentElement as GenericTextRunProperties; 1837TextRunProperties properties = thatFormatRider.CurrentElement as GenericTextRunProperties; 1873culture = ((TextRunProperties)thatFormatRider.CurrentElement).CultureInfo;