32 references to CurrentElement
PresentationCore (32)
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (2)
206
(MS.Internal.Text.TextInterface.ItemProps)itemSpanRider.
CurrentElement
,
407
int index = IndexOfScaledTypeface((ScaledShapeTypeface)typefaceSpanRider.
CurrentElement
);
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (4)
1443
LSRun run = GetRun((Plsrun) plsrunSpanRider.
CurrentElement
);
1463
LSRun run = GetRun((Plsrun) plsrunSpanRider.
CurrentElement
);
2036
Plsrun plsrun = (Plsrun)plsrunSpanRider.
CurrentElement
;
2786
offsetToFirstCp = GetRun(((Plsrun)plsrunSpanRider.
CurrentElement
)).OffsetToFirstCp;
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (4)
116
TextRun textRun = (TextRun)textRunSpanRider.
CurrentElement
;
169
if (textRunSpanRider.
CurrentElement
!= _textRunVector.Default)
279
&& (textRunSpanRider.Length > 0 && textRunSpanRider.
CurrentElement
!= null),
301
TextRun run = textRunSpanRider.
CurrentElement
as TextRun;
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (9)
772
plsrun = (Plsrun)rider.
CurrentElement
;
810
return GetRun((Plsrun)rider.
CurrentElement
).BidiLevel;
854
TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.
CurrentElement
;
883
TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.
CurrentElement
;
1324
TextRunInfo runInfo = (TextRunInfo)runInfoSpanRider.
CurrentElement
;
1325
IList<TextEffect> textEffects = (IList<TextEffect>)textEffectsSpanRider.
CurrentElement
;
1836
return GetRun((Plsrun)rider.
CurrentElement
).OffsetToFirstCp +
2149
lsrun = GetRun((Plsrun)rider.
CurrentElement
);
2359
TextEmbeddedObjectMetrics metrics = (TextEmbeddedObjectMetrics)rider.
CurrentElement
;
Core\CSharp\System\Windows\Media\FormattedText.cs (13)
359
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
435
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
490
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
543
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
602
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
661
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
713
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
766
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
819
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
871
GenericTextRunProperties runProps = formatRider.
CurrentElement
as GenericTextRunProperties;
1155
GenericTextRunProperties lastRunProps = thatFormatRider.
CurrentElement
as GenericTextRunProperties;
1891
TextRunProperties properties = thatFormatRider.
CurrentElement
as GenericTextRunProperties;
1927
culture = ((TextRunProperties)thatFormatRider.
CurrentElement
).CultureInfo;