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