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)
1395LSRun run = GetRun((Plsrun) plsrunSpanRider.CurrentElement); 1415LSRun run = GetRun((Plsrun) plsrunSpanRider.CurrentElement); 1985Plsrun plsrun = (Plsrun)plsrunSpanRider.CurrentElement; 2710offsetToFirstCp = 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)
333GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 407GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 462GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 515GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 574GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 633GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 685GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 738GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 791GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 843GenericTextRunProperties runProps = formatRider.CurrentElement as GenericTextRunProperties; 1126GenericTextRunProperties lastRunProps = thatFormatRider.CurrentElement as GenericTextRunProperties; 1858TextRunProperties properties = thatFormatRider.CurrentElement as GenericTextRunProperties; 1894culture = ((TextRunProperties)thatFormatRider.CurrentElement).CultureInfo;