32 references to CurrentElement
PresentationCore (32)
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (2)
206(MS.Internal.Text.TextInterface.ItemProps)itemSpanRider.CurrentElement, 407int index = IndexOfScaledTypeface((ScaledShapeTypeface)typefaceSpanRider.CurrentElement);
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (4)
1443LSRun run = GetRun((Plsrun) plsrunSpanRider.CurrentElement); 1463LSRun run = GetRun((Plsrun) plsrunSpanRider.CurrentElement); 2036Plsrun plsrun = (Plsrun)plsrunSpanRider.CurrentElement; 2786offsetToFirstCp = GetRun(((Plsrun)plsrunSpanRider.CurrentElement)).OffsetToFirstCp;
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (4)
116TextRun textRun = (TextRun)textRunSpanRider.CurrentElement; 169if (textRunSpanRider.CurrentElement != _textRunVector.Default) 279&& (textRunSpanRider.Length > 0 && textRunSpanRider.CurrentElement != null), 301TextRun run = textRunSpanRider.CurrentElement as TextRun;
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (9)
772plsrun = (Plsrun)rider.CurrentElement; 810return GetRun((Plsrun)rider.CurrentElement).BidiLevel; 854TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.CurrentElement; 883TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.CurrentElement; 1324TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.CurrentElement; 1325IList<TextEffect> textEffects = (IList<TextEffect>)textEffectsSpanRider.CurrentElement; 1836return GetRun((Plsrun)rider.CurrentElement).OffsetToFirstCp + 2149lsrun = GetRun((Plsrun)rider.CurrentElement); 2359TextEmbeddedObjectMetrics metrics = (TextEmbeddedObjectMetrics)rider.CurrentElement;
Core\CSharp\System\Windows\Media\FormattedText.cs (13)
359GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 435GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 490GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 543GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 602GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 661GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 713GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 766GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 819GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 871GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 1155GenericTextRunProperties lastRunProps = thatFormatRider.CurrentElement as GenericTextRunProperties; 1891TextRunProperties properties = thatFormatRider.CurrentElement as GenericTextRunProperties; 1927culture = ((TextRunProperties)thatFormatRider.CurrentElement).CultureInfo;