34 references to FontVariants
PresentationCore (6)
Core\CSharp\MS\Internal\TextFormatting\LineServicesRun.cs (5)
885
case
FontVariants
.Inferior: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.ScientificInferiors, 1));
887
case
FontVariants
.Ordinal: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.Ordinals, 1));
889
case
FontVariants
.Ruby: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.RubyNotationForms, 1));
891
case
FontVariants
.Subscript: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.Subscript, 1));
893
case
FontVariants
.Superscript: fontFeatures.Add(new DWriteFontFeature(Text.TextInterface.DWriteFontFeatureTag.Superscript, 1));
Core\CSharp\System\Windows\Media\TextFormatting\TextRunTypographyProperties.cs (1)
239
public abstract
FontVariants
Variants
PresentationFramework (28)
src\Framework\MS\Internal\Text\TypographyProperties.cs (4)
548
public override
FontVariants
Variants
553
public void SetVariants(
FontVariants
value)
766
_variant =
FontVariants
.Normal;
821
private
FontVariants
_variant;
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (6)
306
FontVariants
fontVariants = (
FontVariants
)tp.GetValue(Typography.VariantsProperty);
307
return (fontVariants ==
FontVariants
.Subscript);
317
FontVariants
fontVariants = (
FontVariants
)tp.GetValue(Typography.VariantsProperty);
318
return (fontVariants ==
FontVariants
.Superscript);
src\Framework\System\windows\Documents\TextEditorCharacters.cs (10)
264
FontVariants
fontVariants = (
FontVariants
)((TextSelection)This.Selection).GetCurrentValue(Typography.VariantsProperty);
266
fontVariants = fontVariants ==
FontVariants
.Subscript ?
FontVariants
.Normal :
FontVariants
.Subscript;
283
FontVariants
fontVariants = (
FontVariants
)((TextSelection)This.Selection).GetCurrentValue(Typography.VariantsProperty);
285
fontVariants = fontVariants ==
FontVariants
.Superscript ?
FontVariants
.Normal :
FontVariants
.Superscript;
src\Framework\System\Windows\Documents\TextElement.cs (1)
1124
group.SetVariants((
FontVariants
) element.GetValue(Typography.VariantsProperty));
src\Framework\System\Windows\Documents\Typography.cs (7)
312
public
FontVariants
Variants
314
get { return (
FontVariants
) _owner.GetValue(VariantsProperty); }
1472
public static void SetVariants(DependencyObject element,
FontVariants
value)
1488
public static
FontVariants
GetVariants(DependencyObject element)
1495
return (
FontVariants
)element.GetValue(VariantsProperty);
2102
typeof(
FontVariants
),
2105
FontVariants
.Normal,