32 references to CurrentElement
PresentationCore (32)
MS\Internal\Shaping\TypefaceMap.cs (2)
190(MS.Internal.Text.TextInterface.ItemProps)itemSpanRider.CurrentElement, 390int index = IndexOfScaledTypeface((ScaledShapeTypeface)typefaceSpanRider.CurrentElement);
MS\Internal\TextFormatting\FullTextLine.cs (4)
1397LSRun run = GetRun((Plsrun) plsrunSpanRider.CurrentElement); 1417LSRun run = GetRun((Plsrun) plsrunSpanRider.CurrentElement); 1987Plsrun plsrun = (Plsrun)plsrunSpanRider.CurrentElement; 2712offsetToFirstCp = GetRun(((Plsrun)plsrunSpanRider.CurrentElement)).OffsetToFirstCp;
MS\Internal\TextFormatting\TextRunCacheImp.cs (4)
99TextRun textRun = (TextRun)textRunSpanRider.CurrentElement; 149if (textRunSpanRider.CurrentElement != _textRunVector.Default) 259&& (textRunSpanRider.Length > 0 && textRunSpanRider.CurrentElement != null), 281TextRun run = textRunSpanRider.CurrentElement as TextRun;
MS\Internal\TextFormatting\TextStore.cs (9)
746plsrun = (Plsrun)rider.CurrentElement; 784return GetRun((Plsrun)rider.CurrentElement).BidiLevel; 828TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.CurrentElement; 857TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.CurrentElement; 1298TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.CurrentElement; 1299IList<TextEffect> textEffects = (IList<TextEffect>)textEffectsSpanRider.CurrentElement; 1813return GetRun((Plsrun)rider.CurrentElement).OffsetToFirstCp + 2126lsrun = GetRun((Plsrun)rider.CurrentElement); 2334TextEmbeddedObjectMetrics metrics = (TextEmbeddedObjectMetrics)rider.CurrentElement;
System\Windows\Media\FormattedText.cs (13)
329GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 402GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 456GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 508GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 566GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 624GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 674GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 725GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 776GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 826GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 1108GenericTextRunProperties lastRunProps = thatFormatRider.CurrentElement as GenericTextRunProperties; 1840TextRunProperties properties = thatFormatRider.CurrentElement as GenericTextRunProperties; 1876culture = ((TextRunProperties)thatFormatRider.CurrentElement).CultureInfo;