32 references to CurrentElement
PresentationCore (32)
MS\Internal\Shaping\TypefaceMap.cs (2)
198
(MS.Internal.Text.TextInterface.ItemProps)itemSpanRider.
CurrentElement
,
398
int index = IndexOfScaledTypeface((ScaledShapeTypeface)typefaceSpanRider.
CurrentElement
);
MS\Internal\TextFormatting\FullTextLine.cs (4)
1410
LSRun run = GetRun((Plsrun) plsrunSpanRider.
CurrentElement
);
1430
LSRun run = GetRun((Plsrun) plsrunSpanRider.
CurrentElement
);
2000
Plsrun plsrun = (Plsrun)plsrunSpanRider.
CurrentElement
;
2725
offsetToFirstCp = GetRun(((Plsrun)plsrunSpanRider.
CurrentElement
)).OffsetToFirstCp;
MS\Internal\TextFormatting\TextRunCacheImp.cs (4)
113
TextRun textRun = (TextRun)textRunSpanRider.
CurrentElement
;
163
if (textRunSpanRider.
CurrentElement
!= _textRunVector.Default)
273
&& (textRunSpanRider.Length > 0 && textRunSpanRider.
CurrentElement
!= null),
295
TextRun run = textRunSpanRider.
CurrentElement
as TextRun;
MS\Internal\TextFormatting\TextStore.cs (9)
761
plsrun = (Plsrun)rider.
CurrentElement
;
799
return GetRun((Plsrun)rider.
CurrentElement
).BidiLevel;
843
TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.
CurrentElement
;
872
TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.
CurrentElement
;
1313
TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.
CurrentElement
;
1314
IList<TextEffect> textEffects = (IList<TextEffect>)textEffectsSpanRider.
CurrentElement
;
1828
return GetRun((Plsrun)rider.
CurrentElement
).OffsetToFirstCp +
2141
lsrun = GetRun((Plsrun)rider.
CurrentElement
);
2349
TextEmbeddedObjectMetrics metrics = (TextEmbeddedObjectMetrics)rider.
CurrentElement
;
System\Windows\Media\FormattedText.cs (13)
349
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
423
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
478
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
531
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
590
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
649
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
701
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
754
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
807
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
859
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
1142
GenericTextRunProperties lastRunProps = thatFormatRider.
CurrentElement
as GenericTextRunProperties;
1874
TextRunProperties properties = thatFormatRider.
CurrentElement
as GenericTextRunProperties;
1910
culture = ((TextRunProperties)thatFormatRider.
CurrentElement
).CultureInfo;