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