32 references to CurrentElement
PresentationCore (32)
MS\Internal\Shaping\TypefaceMap.cs (2)
189
(MS.Internal.Text.TextInterface.ItemProps)itemSpanRider.
CurrentElement
,
389
int index = IndexOfScaledTypeface((ScaledShapeTypeface)typefaceSpanRider.
CurrentElement
);
MS\Internal\TextFormatting\FullTextLine.cs (4)
1396
LSRun run = GetRun((Plsrun) plsrunSpanRider.
CurrentElement
);
1416
LSRun run = GetRun((Plsrun) plsrunSpanRider.
CurrentElement
);
1986
Plsrun plsrun = (Plsrun)plsrunSpanRider.
CurrentElement
;
2711
offsetToFirstCp = GetRun(((Plsrun)plsrunSpanRider.
CurrentElement
)).OffsetToFirstCp;
MS\Internal\TextFormatting\TextRunCacheImp.cs (4)
98
TextRun textRun = (TextRun)textRunSpanRider.
CurrentElement
;
148
if (textRunSpanRider.
CurrentElement
!= _textRunVector.Default)
258
&& (textRunSpanRider.Length > 0 && textRunSpanRider.
CurrentElement
!= null),
280
TextRun run = textRunSpanRider.
CurrentElement
as TextRun;
MS\Internal\TextFormatting\TextStore.cs (9)
745
plsrun = (Plsrun)rider.
CurrentElement
;
783
return GetRun((Plsrun)rider.
CurrentElement
).BidiLevel;
827
TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.
CurrentElement
;
856
TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.
CurrentElement
;
1297
TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.
CurrentElement
;
1298
IList<TextEffect> textEffects = (IList<TextEffect>)textEffectsSpanRider.
CurrentElement
;
1812
return GetRun((Plsrun)rider.
CurrentElement
).OffsetToFirstCp +
2125
lsrun = GetRun((Plsrun)rider.
CurrentElement
);
2333
TextEmbeddedObjectMetrics metrics = (TextEmbeddedObjectMetrics)rider.
CurrentElement
;
System\Windows\Media\FormattedText.cs (13)
328
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
401
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
455
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
507
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
565
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
623
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
673
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
724
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
775
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
825
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
1105
GenericTextRunProperties lastRunProps = thatFormatRider.
CurrentElement
as GenericTextRunProperties;
1837
TextRunProperties properties = thatFormatRider.
CurrentElement
as GenericTextRunProperties;
1873
culture = ((TextRunProperties)thatFormatRider.
CurrentElement
).CultureInfo;