Typography Typography Typography Class

Definition

Provides access to a set of Microsoft OpenType typography properties. These properties are implemented as XAML attached properties such that they can be set from text object model properties as well as from specific text controls.

public sealed class Typography : ITypographypublic sealed class Typography : ITypographyPublic NotInheritable Class Typography Implements ITypography
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

You typically use Typography attached properties with the text of TextBlock or RichTextBlock controls. The Typography object exposes the set of features that the Microsoft OpenType font supports. By setting the properties of Typography in markup or code, you can author documents that take advantage of Microsoft OpenType features, and turn those features on at a per-element level if desired.

Some fonts contain stylistic variant glyphs that correspond to portions of a character set. Glyphs in stylistic sets may be designed to harmonize visually, interact in particular ways, or work together in other ways. Some of these variants are identified by particular conventions, for example the font might have discretionary ligatures. In this example case, the typography behavior can be enabled by setting Typography.DiscretionaryLigatures to true. Other stylistic variants are not identified by any Microsoft OpenType set or convention, and are instead specific to that particular font's typography design. These variants can be accessed by setting any of the StylisticSet# attached properties to true.

Note

Whenever possible, TextBlock renders text using an efficient fast path. Only the default values for the various Typography attached properties are fast path. Non-default values require TextBlock to fall back to a more CPU intensive code path for text rendering. For more info, see the TextBlock control guide.

Examples

Here, Typography values are set on a TextBlock to render the text in small caps using stylistic set 4.

<TextBlock Text="Hello, world!"
           Typography.Capitals="SmallCaps"
           Typography.StylisticSet4="True"/>
TextBlock textBlock1 = new TextBlock();
textBlock1.Text = "Hello, world!";
Windows.UI.Xaml.Documents.Typography.SetCapitals(textBlock1, FontCapitals.SmallCaps);
Windows.UI.Xaml.Documents.Typography.SetStylisticSet4(textBlock1, true);

In this example, the Typography.Fraction attached property is set on a Run in a RichTextBlock.

<RichTextBlock>
    <Paragraph>12 x <Run Typography.Fraction="Slashed">1/3</Run> = 4.</Paragraph>
</RichTextBlock>

Properties

AnnotationAlternatesProperty AnnotationAlternatesProperty AnnotationAlternatesProperty

Identifies the AnnotationAlternates attached property.

public static DependencyProperty AnnotationAlternatesProperty { get; }public static DependencyProperty AnnotationAlternatesProperty { get; }Public Static ReadOnly Property AnnotationAlternatesProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the AnnotationAlternates attached property.

Attributes

CapitalSpacingProperty CapitalSpacingProperty CapitalSpacingProperty

Identifies the CapitalSpacing attached property.

public static DependencyProperty CapitalSpacingProperty { get; }public static DependencyProperty CapitalSpacingProperty { get; }Public Static ReadOnly Property CapitalSpacingProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the CapitalSpacing attached property.

Attributes

CapitalsProperty CapitalsProperty CapitalsProperty

Identifies the Capitals attached property.

public static DependencyProperty CapitalsProperty { get; }public static DependencyProperty CapitalsProperty { get; }Public Static ReadOnly Property CapitalsProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the Capitals attached property.

Attributes

CaseSensitiveFormsProperty CaseSensitiveFormsProperty CaseSensitiveFormsProperty

Identifies the CaseSensitiveForms attached property.

public static DependencyProperty CaseSensitiveFormsProperty { get; }public static DependencyProperty CaseSensitiveFormsProperty { get; }Public Static ReadOnly Property CaseSensitiveFormsProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the CaseSensitiveForms attached property.

Attributes

ContextualAlternatesProperty ContextualAlternatesProperty ContextualAlternatesProperty

Identifies the ContextualAlternates attached property.

public static DependencyProperty ContextualAlternatesProperty { get; }public static DependencyProperty ContextualAlternatesProperty { get; }Public Static ReadOnly Property ContextualAlternatesProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the ContextualAlternates attached property.

Attributes

ContextualLigaturesProperty ContextualLigaturesProperty ContextualLigaturesProperty

Identifies the ContextualLigatures attached property.

public static DependencyProperty ContextualLigaturesProperty { get; }public static DependencyProperty ContextualLigaturesProperty { get; }Public Static ReadOnly Property ContextualLigaturesProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the ContextualLigatures attached property.

Attributes

ContextualSwashesProperty ContextualSwashesProperty ContextualSwashesProperty

Identifies the ContextualSwashes attached property.

public static DependencyProperty ContextualSwashesProperty { get; }public static DependencyProperty ContextualSwashesProperty { get; }Public Static ReadOnly Property ContextualSwashesProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the ContextualSwashes attached property.

Attributes

DiscretionaryLigaturesProperty DiscretionaryLigaturesProperty DiscretionaryLigaturesProperty

Identifies the DiscretionaryLigatures attached property.

public static DependencyProperty DiscretionaryLigaturesProperty { get; }public static DependencyProperty DiscretionaryLigaturesProperty { get; }Public Static ReadOnly Property DiscretionaryLigaturesProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the DiscretionaryLigatures attached property.

Attributes

EastAsianExpertFormsProperty EastAsianExpertFormsProperty EastAsianExpertFormsProperty

Identifies the EastAsianExpertForms attached property.

public static DependencyProperty EastAsianExpertFormsProperty { get; }public static DependencyProperty EastAsianExpertFormsProperty { get; }Public Static ReadOnly Property EastAsianExpertFormsProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the EastAsianExpertForms attached property.

Attributes

EastAsianLanguageProperty EastAsianLanguageProperty EastAsianLanguageProperty

Identifies the EastAsianLanguage attached property.

public static DependencyProperty EastAsianLanguageProperty { get; }public static DependencyProperty EastAsianLanguageProperty { get; }Public Static ReadOnly Property EastAsianLanguageProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the EastAsianLanguage attached property.

Attributes

EastAsianWidthsProperty EastAsianWidthsProperty EastAsianWidthsProperty

Identifies the EastAsianWidths attached property.

public static DependencyProperty EastAsianWidthsProperty { get; }public static DependencyProperty EastAsianWidthsProperty { get; }Public Static ReadOnly Property EastAsianWidthsProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the EastAsianWidths attached property.

Attributes

FractionProperty FractionProperty FractionProperty

Identifies the Fraction attached property.

public static DependencyProperty FractionProperty { get; }public static DependencyProperty FractionProperty { get; }Public Static ReadOnly Property FractionProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the Fraction attached property.

Attributes

HistoricalFormsProperty HistoricalFormsProperty HistoricalFormsProperty

Identifies the HistoricalForms attached property.

public static DependencyProperty HistoricalFormsProperty { get; }public static DependencyProperty HistoricalFormsProperty { get; }Public Static ReadOnly Property HistoricalFormsProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the HistoricalForms attached property.

Attributes

HistoricalLigaturesProperty HistoricalLigaturesProperty HistoricalLigaturesProperty

Identifies the HistoricalLigatures attached property.

public static DependencyProperty HistoricalLigaturesProperty { get; }public static DependencyProperty HistoricalLigaturesProperty { get; }Public Static ReadOnly Property HistoricalLigaturesProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the HistoricalLigatures attached property.

Attributes

KerningProperty KerningProperty KerningProperty

Identifies the Kerning attached property.

public static DependencyProperty KerningProperty { get; }public static DependencyProperty KerningProperty { get; }Public Static ReadOnly Property KerningProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the Kerning attached property.

Attributes

MathematicalGreekProperty MathematicalGreekProperty MathematicalGreekProperty

Identifies the MathematicalGreek attached property.

public static DependencyProperty MathematicalGreekProperty { get; }public static DependencyProperty MathematicalGreekProperty { get; }Public Static ReadOnly Property MathematicalGreekProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the MathematicalGreek attached property.

Attributes

NumeralAlignmentProperty NumeralAlignmentProperty NumeralAlignmentProperty

Identifies the NumeralAlignment attached property.

public static DependencyProperty NumeralAlignmentProperty { get; }public static DependencyProperty NumeralAlignmentProperty { get; }Public Static ReadOnly Property NumeralAlignmentProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the NumeralAlignment attached property.

Attributes

NumeralStyleProperty NumeralStyleProperty NumeralStyleProperty

Identifies the NumeralStyle attached property.

public static DependencyProperty NumeralStyleProperty { get; }public static DependencyProperty NumeralStyleProperty { get; }Public Static ReadOnly Property NumeralStyleProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the NumeralStyle attached property.

Attributes

SlashedZeroProperty SlashedZeroProperty SlashedZeroProperty

Identifies the SlashedZero attached property.

public static DependencyProperty SlashedZeroProperty { get; }public static DependencyProperty SlashedZeroProperty { get; }Public Static ReadOnly Property SlashedZeroProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the SlashedZero attached property.

Attributes

StandardLigaturesProperty StandardLigaturesProperty StandardLigaturesProperty

Identifies the StandardLigatures attached property.

public static DependencyProperty StandardLigaturesProperty { get; }public static DependencyProperty StandardLigaturesProperty { get; }Public Static ReadOnly Property StandardLigaturesProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StandardLigatures attached property.

Attributes

StandardSwashesProperty StandardSwashesProperty StandardSwashesProperty

Identifies the StandardSwashes attached property.

public static DependencyProperty StandardSwashesProperty { get; }public static DependencyProperty StandardSwashesProperty { get; }Public Static ReadOnly Property StandardSwashesProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StandardSwashes attached property.

Attributes

StylisticAlternatesProperty StylisticAlternatesProperty StylisticAlternatesProperty

Identifies the StylisticAlternates attached property.

public static DependencyProperty StylisticAlternatesProperty { get; }public static DependencyProperty StylisticAlternatesProperty { get; }Public Static ReadOnly Property StylisticAlternatesProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticAlternates attached property.

Attributes

StylisticSet10Property StylisticSet10Property StylisticSet10Property

Identifies the StylisticSet10 attached property.

public static DependencyProperty StylisticSet10Property { get; }public static DependencyProperty StylisticSet10Property { get; }Public Static ReadOnly Property StylisticSet10Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet10 attached property.

Attributes

StylisticSet11Property StylisticSet11Property StylisticSet11Property

Identifies the StylisticSet11 attached property.

public static DependencyProperty StylisticSet11Property { get; }public static DependencyProperty StylisticSet11Property { get; }Public Static ReadOnly Property StylisticSet11Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet11 attached property.

Attributes

StylisticSet12Property StylisticSet12Property StylisticSet12Property

Identifies the StylisticSet12 attached property.

public static DependencyProperty StylisticSet12Property { get; }public static DependencyProperty StylisticSet12Property { get; }Public Static ReadOnly Property StylisticSet12Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet12 attached property.

Attributes

StylisticSet13Property StylisticSet13Property StylisticSet13Property

Identifies the StylisticSet13 attached property.

public static DependencyProperty StylisticSet13Property { get; }public static DependencyProperty StylisticSet13Property { get; }Public Static ReadOnly Property StylisticSet13Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet13 attached property.

Attributes

StylisticSet14Property StylisticSet14Property StylisticSet14Property

Identifies the StylisticSet14 attached property.

public static DependencyProperty StylisticSet14Property { get; }public static DependencyProperty StylisticSet14Property { get; }Public Static ReadOnly Property StylisticSet14Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet14 attached property.

Attributes

StylisticSet15Property StylisticSet15Property StylisticSet15Property

Identifies the StylisticSet15 attached property.

public static DependencyProperty StylisticSet15Property { get; }public static DependencyProperty StylisticSet15Property { get; }Public Static ReadOnly Property StylisticSet15Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet15 attached property.

Attributes

StylisticSet16Property StylisticSet16Property StylisticSet16Property

Identifies the StylisticSet16 attached property.

public static DependencyProperty StylisticSet16Property { get; }public static DependencyProperty StylisticSet16Property { get; }Public Static ReadOnly Property StylisticSet16Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet16 attached property.

Attributes

StylisticSet17Property StylisticSet17Property StylisticSet17Property

Identifies the StylisticSet17 attached property.

public static DependencyProperty StylisticSet17Property { get; }public static DependencyProperty StylisticSet17Property { get; }Public Static ReadOnly Property StylisticSet17Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet17 attached property.

Attributes

StylisticSet18Property StylisticSet18Property StylisticSet18Property

Identifies the StylisticSet18 attached property.

public static DependencyProperty StylisticSet18Property { get; }public static DependencyProperty StylisticSet18Property { get; }Public Static ReadOnly Property StylisticSet18Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet18 attached property.

Attributes

StylisticSet19Property StylisticSet19Property StylisticSet19Property

Identifies the StylisticSet19 attached property.

public static DependencyProperty StylisticSet19Property { get; }public static DependencyProperty StylisticSet19Property { get; }Public Static ReadOnly Property StylisticSet19Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet19 attached property.

Attributes

StylisticSet1Property StylisticSet1Property StylisticSet1Property

Identifies the StylisticSet1 attached property.

public static DependencyProperty StylisticSet1Property { get; }public static DependencyProperty StylisticSet1Property { get; }Public Static ReadOnly Property StylisticSet1Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet1 attached property.

Attributes

StylisticSet20Property StylisticSet20Property StylisticSet20Property

Identifies the StylisticSet20 attached property.

public static DependencyProperty StylisticSet20Property { get; }public static DependencyProperty StylisticSet20Property { get; }Public Static ReadOnly Property StylisticSet20Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet20 attached property.

Attributes

StylisticSet2Property StylisticSet2Property StylisticSet2Property

Identifies the StylisticSet2 attached property.

public static DependencyProperty StylisticSet2Property { get; }public static DependencyProperty StylisticSet2Property { get; }Public Static ReadOnly Property StylisticSet2Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet2 attached property.

Attributes

StylisticSet3Property StylisticSet3Property StylisticSet3Property

Identifies the StylisticSet3 attached property.

public static DependencyProperty StylisticSet3Property { get; }public static DependencyProperty StylisticSet3Property { get; }Public Static ReadOnly Property StylisticSet3Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet3 attached property.

Attributes

StylisticSet4Property StylisticSet4Property StylisticSet4Property

Identifies the StylisticSet4 attached property.

public static DependencyProperty StylisticSet4Property { get; }public static DependencyProperty StylisticSet4Property { get; }Public Static ReadOnly Property StylisticSet4Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet4 attached property.

Attributes

StylisticSet5Property StylisticSet5Property StylisticSet5Property

Identifies the StylisticSet5 attached property.

public static DependencyProperty StylisticSet5Property { get; }public static DependencyProperty StylisticSet5Property { get; }Public Static ReadOnly Property StylisticSet5Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet5 attached property.

Attributes

StylisticSet6Property StylisticSet6Property StylisticSet6Property

Identifies the StylisticSet6 attached property.

public static DependencyProperty StylisticSet6Property { get; }public static DependencyProperty StylisticSet6Property { get; }Public Static ReadOnly Property StylisticSet6Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet6 attached property.

Attributes

StylisticSet7Property StylisticSet7Property StylisticSet7Property

Identifies the StylisticSet7 attached property.

public static DependencyProperty StylisticSet7Property { get; }public static DependencyProperty StylisticSet7Property { get; }Public Static ReadOnly Property StylisticSet7Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet7 attached property.

Attributes

StylisticSet8Property StylisticSet8Property StylisticSet8Property

Identifies the StylisticSet8 attached property.

public static DependencyProperty StylisticSet8Property { get; }public static DependencyProperty StylisticSet8Property { get; }Public Static ReadOnly Property StylisticSet8Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet8 attached property.

Attributes

StylisticSet9Property StylisticSet9Property StylisticSet9Property

Identifies the StylisticSet9 attached property.

public static DependencyProperty StylisticSet9Property { get; }public static DependencyProperty StylisticSet9Property { get; }Public Static ReadOnly Property StylisticSet9Property As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the StylisticSet9 attached property.

Attributes

VariantsProperty VariantsProperty VariantsProperty

Identifies the Variants attached property.

public static DependencyProperty VariantsProperty { get; }public static DependencyProperty VariantsProperty { get; }Public Static ReadOnly Property VariantsProperty As DependencyProperty
Value
DependencyProperty DependencyProperty DependencyProperty

The identifier for the Variants attached property.

Attributes

Methods

GetAnnotationAlternates(DependencyObject) GetAnnotationAlternates(DependencyObject) GetAnnotationAlternates(DependencyObject)

Returns the value of the AnnotationAlternates attached property for a specified dependency object.

public static int GetAnnotationAlternates(DependencyObject element)public static int GetAnnotationAlternates(DependencyObject element)Public Static Function GetAnnotationAlternates(element As DependencyObject) As int
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the AnnotationAlternates property.

Returns
int int int

The current value of the AnnotationAlternates attached property on the specified dependency object.

Attributes

GetCapitals(DependencyObject) GetCapitals(DependencyObject) GetCapitals(DependencyObject)

Returns the value of the Capitals attached property for a specified dependency object.

public static FontCapitals GetCapitals(DependencyObject element)public static FontCapitals GetCapitals(DependencyObject element)Public Static Function GetCapitals(element As DependencyObject) As FontCapitals
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the Capitals property.

Returns

The current value of the Capitals attached property on the specified dependency object.

Attributes

GetCapitalSpacing(DependencyObject) GetCapitalSpacing(DependencyObject) GetCapitalSpacing(DependencyObject)

Returns the value of the CapitalSpacing attached property for a specified dependency object.

public static bool GetCapitalSpacing(DependencyObject element)public static bool GetCapitalSpacing(DependencyObject element)Public Static Function GetCapitalSpacing(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the CapitalSpacing property.

Returns
bool bool bool

The current value of the CapitalSpacing attached property on the specified dependency object.

Attributes

GetCaseSensitiveForms(DependencyObject) GetCaseSensitiveForms(DependencyObject) GetCaseSensitiveForms(DependencyObject)

Returns the value of the CaseSensitiveForms attached property for a specified dependency object.

public static bool GetCaseSensitiveForms(DependencyObject element)public static bool GetCaseSensitiveForms(DependencyObject element)Public Static Function GetCaseSensitiveForms(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the CaseSensitiveForms property.

Returns
bool bool bool

The current value of the CaseSensitiveForms attached property on the specified dependency object.

Attributes

GetContextualAlternates(DependencyObject) GetContextualAlternates(DependencyObject) GetContextualAlternates(DependencyObject)

Returns the value of the ContextualAlternates attached property for a specified dependency object.

public static bool GetContextualAlternates(DependencyObject element)public static bool GetContextualAlternates(DependencyObject element)Public Static Function GetContextualAlternates(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the ContextualAlternates property.

Returns
bool bool bool

The current value of the ContextualAlternates attached property on the specified dependency object.

Attributes

GetContextualLigatures(DependencyObject) GetContextualLigatures(DependencyObject) GetContextualLigatures(DependencyObject)

Returns the value of the ContextualLigatures attached property for a specified dependency object.

public static bool GetContextualLigatures(DependencyObject element)public static bool GetContextualLigatures(DependencyObject element)Public Static Function GetContextualLigatures(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the ContextualLigatures property.

Returns
bool bool bool

The current value of the ContextualLigatures attached property on the specified dependency object.

Attributes

GetContextualSwashes(DependencyObject) GetContextualSwashes(DependencyObject) GetContextualSwashes(DependencyObject)

Returns the value of the ContextualSwashes attached property for a specified dependency object.

public static int GetContextualSwashes(DependencyObject element)public static int GetContextualSwashes(DependencyObject element)Public Static Function GetContextualSwashes(element As DependencyObject) As int
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the ContextualSwashes property.

Returns
int int int

The current value of the ContextualSwashes attached property on the specified dependency object.

Attributes

GetDiscretionaryLigatures(DependencyObject) GetDiscretionaryLigatures(DependencyObject) GetDiscretionaryLigatures(DependencyObject)

Returns the value of the DiscretionaryLigatures attached property for a specified dependency object.

public static bool GetDiscretionaryLigatures(DependencyObject element)public static bool GetDiscretionaryLigatures(DependencyObject element)Public Static Function GetDiscretionaryLigatures(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the DiscretionaryLigatures property.

Returns
bool bool bool

The current value of the DiscretionaryLigatures attached property on the specified dependency object.

Attributes

GetEastAsianExpertForms(DependencyObject) GetEastAsianExpertForms(DependencyObject) GetEastAsianExpertForms(DependencyObject)

Returns the value of the EastAsianExpertForms attached property for a specified dependency object.

public static bool GetEastAsianExpertForms(DependencyObject element)public static bool GetEastAsianExpertForms(DependencyObject element)Public Static Function GetEastAsianExpertForms(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the EastAsianExpertForms property.

Returns
bool bool bool

The current value of the EastAsianExpertForms attached property on the specified dependency object.

Attributes

GetEastAsianLanguage(DependencyObject) GetEastAsianLanguage(DependencyObject) GetEastAsianLanguage(DependencyObject)

Returns the value of the EastAsianLanguage attached property for a specified dependency object.

public static FontEastAsianLanguage GetEastAsianLanguage(DependencyObject element)public static FontEastAsianLanguage GetEastAsianLanguage(DependencyObject element)Public Static Function GetEastAsianLanguage(element As DependencyObject) As FontEastAsianLanguage
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the EastAsianLanguage property.

Returns

The current value of the EastAsianLanguage attached property on the specified dependency object.

Attributes

GetEastAsianWidths(DependencyObject) GetEastAsianWidths(DependencyObject) GetEastAsianWidths(DependencyObject)

Returns the value of the EastAsianWidths attached property for a specified dependency object.

public static FontEastAsianWidths GetEastAsianWidths(DependencyObject element)public static FontEastAsianWidths GetEastAsianWidths(DependencyObject element)Public Static Function GetEastAsianWidths(element As DependencyObject) As FontEastAsianWidths
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the EastAsianWidths property.

Returns

The current value of the EastAsianWidths attached property on the specified dependency object.

Attributes

GetFraction(DependencyObject) GetFraction(DependencyObject) GetFraction(DependencyObject)

Returns the value of the Fraction attached property for a specified dependency object.

public static FontFraction GetFraction(DependencyObject element)public static FontFraction GetFraction(DependencyObject element)Public Static Function GetFraction(element As DependencyObject) As FontFraction
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the Fraction property.

Returns

The current value of the Fraction attached property on the specified dependency object.

Attributes

GetHistoricalForms(DependencyObject) GetHistoricalForms(DependencyObject) GetHistoricalForms(DependencyObject)

Returns the value of the HistoricalForms attached property for a specified dependency object.

public static bool GetHistoricalForms(DependencyObject element)public static bool GetHistoricalForms(DependencyObject element)Public Static Function GetHistoricalForms(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the HistoricalForms property.

Returns
bool bool bool

The current value of the HistoricalForms attached property on the specified dependency object.

Attributes

GetHistoricalLigatures(DependencyObject) GetHistoricalLigatures(DependencyObject) GetHistoricalLigatures(DependencyObject)

Returns the value of the HistoricalLigatures attached property for a specified dependency object.

public static bool GetHistoricalLigatures(DependencyObject element)public static bool GetHistoricalLigatures(DependencyObject element)Public Static Function GetHistoricalLigatures(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the HistoricalLigatures property.

Returns
bool bool bool

The current value of the HistoricalLigatures attached property on the specified dependency object.

Attributes

GetKerning(DependencyObject) GetKerning(DependencyObject) GetKerning(DependencyObject)

Returns the value of the Kerning attached property for a specified dependency object.

public static bool GetKerning(DependencyObject element)public static bool GetKerning(DependencyObject element)Public Static Function GetKerning(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the Kerning property.

Returns
bool bool bool

The current value of the Kerning attached property on the specified dependency object.

Attributes

GetMathematicalGreek(DependencyObject) GetMathematicalGreek(DependencyObject) GetMathematicalGreek(DependencyObject)

Returns the value of the MathematicalGreek attached property for a specified dependency object.

public static bool GetMathematicalGreek(DependencyObject element)public static bool GetMathematicalGreek(DependencyObject element)Public Static Function GetMathematicalGreek(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the MathematicalGreek property.

Returns
bool bool bool

The current value of the MathematicalGreek attached property on the specified dependency object.

Attributes

GetNumeralAlignment(DependencyObject) GetNumeralAlignment(DependencyObject) GetNumeralAlignment(DependencyObject)

Returns the value of the NumeralAlignment attached property for a specified dependency object.

public static FontNumeralAlignment GetNumeralAlignment(DependencyObject element)public static FontNumeralAlignment GetNumeralAlignment(DependencyObject element)Public Static Function GetNumeralAlignment(element As DependencyObject) As FontNumeralAlignment
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the NumeralAlignment property.

Returns

The current value of the NumeralAlignment attached property on the specified dependency object.

Attributes

GetNumeralStyle(DependencyObject) GetNumeralStyle(DependencyObject) GetNumeralStyle(DependencyObject)

Returns the value of the NumeralStyle attached property for a specified dependency object.

public static FontNumeralStyle GetNumeralStyle(DependencyObject element)public static FontNumeralStyle GetNumeralStyle(DependencyObject element)Public Static Function GetNumeralStyle(element As DependencyObject) As FontNumeralStyle
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the NumeralStyle property.

Returns

The current value of the NumeralStyle attached property on the specified dependency object.

Attributes

GetSlashedZero(DependencyObject) GetSlashedZero(DependencyObject) GetSlashedZero(DependencyObject)

Returns the value of the SlashedZero attached property for a specified dependency object.

public static bool GetSlashedZero(DependencyObject element)public static bool GetSlashedZero(DependencyObject element)Public Static Function GetSlashedZero(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the SlashedZero property.

Returns
bool bool bool

The current value of the SlashedZero attached property on the specified dependency object.

Attributes

GetStandardLigatures(DependencyObject) GetStandardLigatures(DependencyObject) GetStandardLigatures(DependencyObject)

Returns the value of the StandardLigatures attached property for a specified dependency object.

public static bool GetStandardLigatures(DependencyObject element)public static bool GetStandardLigatures(DependencyObject element)Public Static Function GetStandardLigatures(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StandardLigatures property.

Returns
bool bool bool

The current value of the StandardLigatures attached property on the specified dependency object.

Attributes

GetStandardSwashes(DependencyObject) GetStandardSwashes(DependencyObject) GetStandardSwashes(DependencyObject)

Returns the value of the StandardSwashes attached property for a specified dependency object.

public static int GetStandardSwashes(DependencyObject element)public static int GetStandardSwashes(DependencyObject element)Public Static Function GetStandardSwashes(element As DependencyObject) As int
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StandardSwashes property.

Returns
int int int

The current value of the StandardSwashes attached property on the specified dependency object.

Attributes

GetStylisticAlternates(DependencyObject) GetStylisticAlternates(DependencyObject) GetStylisticAlternates(DependencyObject)

Returns the value of the StylisticAlternates attached property for a specified dependency object.

public static int GetStylisticAlternates(DependencyObject element)public static int GetStylisticAlternates(DependencyObject element)Public Static Function GetStylisticAlternates(element As DependencyObject) As int
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticAlternates property.

Returns
int int int

The current value of the StylisticAlternates attached property on the specified dependency object.

Attributes

GetStylisticSet1(DependencyObject) GetStylisticSet1(DependencyObject) GetStylisticSet1(DependencyObject)

Returns the value of the StylisticSet1 attached property for a specified dependency object.

public static bool GetStylisticSet1(DependencyObject element)public static bool GetStylisticSet1(DependencyObject element)Public Static Function GetStylisticSet1(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet1 property.

Returns
bool bool bool

The current value of the StylisticSet1 attached property on the specified dependency object.

Attributes

GetStylisticSet10(DependencyObject) GetStylisticSet10(DependencyObject) GetStylisticSet10(DependencyObject)

Returns the value of the StylisticSet10 attached property for a specified dependency object.

public static bool GetStylisticSet10(DependencyObject element)public static bool GetStylisticSet10(DependencyObject element)Public Static Function GetStylisticSet10(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet10 property.

Returns
bool bool bool

The current value of the StylisticSet10 attached property on the specified dependency object.

Attributes

GetStylisticSet11(DependencyObject) GetStylisticSet11(DependencyObject) GetStylisticSet11(DependencyObject)

Returns the value of the StylisticSet11 attached property for a specified dependency object.

public static bool GetStylisticSet11(DependencyObject element)public static bool GetStylisticSet11(DependencyObject element)Public Static Function GetStylisticSet11(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet11 property.

Returns
bool bool bool

The current value of the StylisticSet11 attached property on the specified dependency object.

Attributes

GetStylisticSet12(DependencyObject) GetStylisticSet12(DependencyObject) GetStylisticSet12(DependencyObject)

Returns the value of the StylisticSet12 attached property for a specified dependency object.

public static bool GetStylisticSet12(DependencyObject element)public static bool GetStylisticSet12(DependencyObject element)Public Static Function GetStylisticSet12(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet12 property.

Returns
bool bool bool

The current value of the StylisticSet12 attached property on the specified dependency object.

Attributes

GetStylisticSet13(DependencyObject) GetStylisticSet13(DependencyObject) GetStylisticSet13(DependencyObject)

Returns the value of the StylisticSet13 attached property for a specified dependency object.

public static bool GetStylisticSet13(DependencyObject element)public static bool GetStylisticSet13(DependencyObject element)Public Static Function GetStylisticSet13(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet13 property.

Returns
bool bool bool

The current value of the StylisticSet13 attached property on the specified dependency object.

Attributes

GetStylisticSet14(DependencyObject) GetStylisticSet14(DependencyObject) GetStylisticSet14(DependencyObject)

Returns the value of the StylisticSet14 attached property for a specified dependency object.

public static bool GetStylisticSet14(DependencyObject element)public static bool GetStylisticSet14(DependencyObject element)Public Static Function GetStylisticSet14(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet14 property.

Returns
bool bool bool

The current value of the StylisticSet14 attached property on the specified dependency object.

Attributes

GetStylisticSet15(DependencyObject) GetStylisticSet15(DependencyObject) GetStylisticSet15(DependencyObject)

Returns the value of the StylisticSet15 attached property for a specified dependency object.

public static bool GetStylisticSet15(DependencyObject element)public static bool GetStylisticSet15(DependencyObject element)Public Static Function GetStylisticSet15(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet15 property.

Returns
bool bool bool

The current value of the StylisticSet15 attached property on the specified dependency object.

Attributes

GetStylisticSet16(DependencyObject) GetStylisticSet16(DependencyObject) GetStylisticSet16(DependencyObject)

Returns the value of the StylisticSet16 attached property for a specified dependency object.

public static bool GetStylisticSet16(DependencyObject element)public static bool GetStylisticSet16(DependencyObject element)Public Static Function GetStylisticSet16(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet16 property.

Returns
bool bool bool

The current value of the StylisticSet16 attached property on the specified dependency object.

Attributes

GetStylisticSet17(DependencyObject) GetStylisticSet17(DependencyObject) GetStylisticSet17(DependencyObject)

Returns the value of the StylisticSet17 attached property for a specified dependency object.

public static bool GetStylisticSet17(DependencyObject element)public static bool GetStylisticSet17(DependencyObject element)Public Static Function GetStylisticSet17(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet17 property.

Returns
bool bool bool

The current value of the StylisticSet17 attached property on the specified dependency object.

Attributes

GetStylisticSet18(DependencyObject) GetStylisticSet18(DependencyObject) GetStylisticSet18(DependencyObject)

Returns the value of the StylisticSet18 attached property for a specified dependency object.

public static bool GetStylisticSet18(DependencyObject element)public static bool GetStylisticSet18(DependencyObject element)Public Static Function GetStylisticSet18(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet18 property.

Returns
bool bool bool

The current value of the StylisticSet18 attached property on the specified dependency object.

Attributes

GetStylisticSet19(DependencyObject) GetStylisticSet19(DependencyObject) GetStylisticSet19(DependencyObject)

Returns the value of the StylisticSet19 attached property for a specified dependency object.

public static bool GetStylisticSet19(DependencyObject element)public static bool GetStylisticSet19(DependencyObject element)Public Static Function GetStylisticSet19(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet19 property.

Returns
bool bool bool

The current value of the StylisticSet19 attached property on the specified dependency object.

Attributes

GetStylisticSet2(DependencyObject) GetStylisticSet2(DependencyObject) GetStylisticSet2(DependencyObject)

Returns the value of the StylisticSet2 attached property for a specified dependency object.

public static bool GetStylisticSet2(DependencyObject element)public static bool GetStylisticSet2(DependencyObject element)Public Static Function GetStylisticSet2(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet2 property.

Returns
bool bool bool

The current value of the StylisticSet2 attached property on the specified dependency object.

Attributes

GetStylisticSet20(DependencyObject) GetStylisticSet20(DependencyObject) GetStylisticSet20(DependencyObject)

Returns the value of the StylisticSet20 attached property for a specified dependency object.

public static bool GetStylisticSet20(DependencyObject element)public static bool GetStylisticSet20(DependencyObject element)Public Static Function GetStylisticSet20(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet20 property.

Returns
bool bool bool

The current value of the StylisticSet20 attached property on the specified dependency object.

Attributes

GetStylisticSet3(DependencyObject) GetStylisticSet3(DependencyObject) GetStylisticSet3(DependencyObject)

Returns the value of the StylisticSet3 attached property for a specified dependency object.

public static bool GetStylisticSet3(DependencyObject element)public static bool GetStylisticSet3(DependencyObject element)Public Static Function GetStylisticSet3(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet3 property.

Returns
bool bool bool

The current value of the StylisticSet3 attached property on the specified dependency object.

Attributes

GetStylisticSet4(DependencyObject) GetStylisticSet4(DependencyObject) GetStylisticSet4(DependencyObject)

Returns the value of the StylisticSet4 attached property for a specified dependency object.

public static bool GetStylisticSet4(DependencyObject element)public static bool GetStylisticSet4(DependencyObject element)Public Static Function GetStylisticSet4(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet4 property.

Returns
bool bool bool

The current value of the StylisticSet4 attached property on the specified dependency object.

Attributes

GetStylisticSet5(DependencyObject) GetStylisticSet5(DependencyObject) GetStylisticSet5(DependencyObject)

Returns the value of the StylisticSet5 attached property for a specified dependency object.

public static bool GetStylisticSet5(DependencyObject element)public static bool GetStylisticSet5(DependencyObject element)Public Static Function GetStylisticSet5(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet5 property.

Returns
bool bool bool

The current value of the StylisticSet5 attached property on the specified dependency object.

Attributes

GetStylisticSet6(DependencyObject) GetStylisticSet6(DependencyObject) GetStylisticSet6(DependencyObject)

Returns the value of the StylisticSet6 attached property for a specified dependency object.

public static bool GetStylisticSet6(DependencyObject element)public static bool GetStylisticSet6(DependencyObject element)Public Static Function GetStylisticSet6(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet6 property.

Returns
bool bool bool

The current value of the StylisticSet6 attached property on the specified dependency object.

Attributes

GetStylisticSet7(DependencyObject) GetStylisticSet7(DependencyObject) GetStylisticSet7(DependencyObject)

Returns the value of the StylisticSet7 attached property for a specified dependency object.

public static bool GetStylisticSet7(DependencyObject element)public static bool GetStylisticSet7(DependencyObject element)Public Static Function GetStylisticSet7(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet7 property.

Returns
bool bool bool

The current value of the StylisticSet7 attached property on the specified dependency object.

Attributes

GetStylisticSet8(DependencyObject) GetStylisticSet8(DependencyObject) GetStylisticSet8(DependencyObject)

Returns the value of the StylisticSet8 attached property for a specified dependency object.

public static bool GetStylisticSet8(DependencyObject element)public static bool GetStylisticSet8(DependencyObject element)Public Static Function GetStylisticSet8(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet8 property.

Returns
bool bool bool

The current value of the StylisticSet8 attached property on the specified dependency object.

Attributes

GetStylisticSet9(DependencyObject) GetStylisticSet9(DependencyObject) GetStylisticSet9(DependencyObject)

Returns the value of the StylisticSet9 attached property for a specified dependency object.

public static bool GetStylisticSet9(DependencyObject element)public static bool GetStylisticSet9(DependencyObject element)Public Static Function GetStylisticSet9(element As DependencyObject) As bool
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the StylisticSet9 property.

Returns
bool bool bool

The current value of the StylisticSet9 attached property on the specified dependency object.

Attributes

GetVariants(DependencyObject) GetVariants(DependencyObject) GetVariants(DependencyObject)

Returns the value of the Variants attached property for a specified dependency object.

public static FontVariants GetVariants(DependencyObject element)public static FontVariants GetVariants(DependencyObject element)Public Static Function GetVariants(element As DependencyObject) As FontVariants
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to retrieve the value of the Variants property.

Returns

The current value of the Variants attached property on the specified dependency object.

Attributes

SetAnnotationAlternates(DependencyObject, Int32) SetAnnotationAlternates(DependencyObject, Int32) SetAnnotationAlternates(DependencyObject, Int32)

Sets the value of the AnnotationAlternates attached property for a specified dependency object.

public static void SetAnnotationAlternates(DependencyObject element, Int32 value)public static void SetAnnotationAlternates(DependencyObject element, Int32 value)Public Static Function SetAnnotationAlternates(element As DependencyObject, value As Int32) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the AnnotationAlternates property.

value
System.Int32 System.Int32 System.Int32

The new value to set the property to.

Attributes

SetCapitals(DependencyObject, FontCapitals) SetCapitals(DependencyObject, FontCapitals) SetCapitals(DependencyObject, FontCapitals)

Sets the value of the Capitals attached property for a specified dependency object.

public static void SetCapitals(DependencyObject element, FontCapitals value)public static void SetCapitals(DependencyObject element, FontCapitals value)Public Static Function SetCapitals(element As DependencyObject, value As FontCapitals) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the Capitals property.

value
FontCapitals FontCapitals FontCapitals

The new value to set the property to.

Attributes

SetCapitalSpacing(DependencyObject, Boolean) SetCapitalSpacing(DependencyObject, Boolean) SetCapitalSpacing(DependencyObject, Boolean)

Sets the value of the CapitalSpacing attached property for a specified dependency object.

public static void SetCapitalSpacing(DependencyObject element, Boolean value)public static void SetCapitalSpacing(DependencyObject element, Boolean value)Public Static Function SetCapitalSpacing(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the CapitalSpacing property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetCaseSensitiveForms(DependencyObject, Boolean) SetCaseSensitiveForms(DependencyObject, Boolean) SetCaseSensitiveForms(DependencyObject, Boolean)

Sets the value of the CaseSensitiveForms attached property for a specified dependency object.

public static void SetCaseSensitiveForms(DependencyObject element, Boolean value)public static void SetCaseSensitiveForms(DependencyObject element, Boolean value)Public Static Function SetCaseSensitiveForms(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the CaseSensitiveForms property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetContextualAlternates(DependencyObject, Boolean) SetContextualAlternates(DependencyObject, Boolean) SetContextualAlternates(DependencyObject, Boolean)

Sets the value of the ContextualAlternates attached property for a specified dependency object.

public static void SetContextualAlternates(DependencyObject element, Boolean value)public static void SetContextualAlternates(DependencyObject element, Boolean value)Public Static Function SetContextualAlternates(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the ContextualAlternates property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetContextualLigatures(DependencyObject, Boolean) SetContextualLigatures(DependencyObject, Boolean) SetContextualLigatures(DependencyObject, Boolean)

Sets the value of the ContextualLigatures attached property for a specified dependency object.

public static void SetContextualLigatures(DependencyObject element, Boolean value)public static void SetContextualLigatures(DependencyObject element, Boolean value)Public Static Function SetContextualLigatures(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the ContextualLigatures property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetContextualSwashes(DependencyObject, Int32) SetContextualSwashes(DependencyObject, Int32) SetContextualSwashes(DependencyObject, Int32)

Sets the value of the ContextualSwashes attached property for a specified dependency object.

public static void SetContextualSwashes(DependencyObject element, Int32 value)public static void SetContextualSwashes(DependencyObject element, Int32 value)Public Static Function SetContextualSwashes(element As DependencyObject, value As Int32) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the ContextualSwashes property.

value
System.Int32 System.Int32 System.Int32

The new value to set the property to.

Attributes

SetDiscretionaryLigatures(DependencyObject, Boolean) SetDiscretionaryLigatures(DependencyObject, Boolean) SetDiscretionaryLigatures(DependencyObject, Boolean)

Sets the value of the DiscretionaryLigatures attached property for a specified dependency object.

public static void SetDiscretionaryLigatures(DependencyObject element, Boolean value)public static void SetDiscretionaryLigatures(DependencyObject element, Boolean value)Public Static Function SetDiscretionaryLigatures(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the DiscretionaryLigatures property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetEastAsianExpertForms(DependencyObject, Boolean) SetEastAsianExpertForms(DependencyObject, Boolean) SetEastAsianExpertForms(DependencyObject, Boolean)

Sets the value of the EastAsianExpertForms attached property for a specified dependency object.

public static void SetEastAsianExpertForms(DependencyObject element, Boolean value)public static void SetEastAsianExpertForms(DependencyObject element, Boolean value)Public Static Function SetEastAsianExpertForms(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the EastAsianExpertForms property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetEastAsianLanguage(DependencyObject, FontEastAsianLanguage) SetEastAsianLanguage(DependencyObject, FontEastAsianLanguage) SetEastAsianLanguage(DependencyObject, FontEastAsianLanguage)

Sets the value of the EastAsianLanguage attached property for a specified dependency object.

public static void SetEastAsianLanguage(DependencyObject element, FontEastAsianLanguage value)public static void SetEastAsianLanguage(DependencyObject element, FontEastAsianLanguage value)Public Static Function SetEastAsianLanguage(element As DependencyObject, value As FontEastAsianLanguage) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the EastAsianLanguage property.

value
FontEastAsianLanguage FontEastAsianLanguage FontEastAsianLanguage

The new value to set the property to.

Attributes

SetEastAsianWidths(DependencyObject, FontEastAsianWidths) SetEastAsianWidths(DependencyObject, FontEastAsianWidths) SetEastAsianWidths(DependencyObject, FontEastAsianWidths)

Sets the value of the EastAsianWidths attached property for a specified dependency object.

public static void SetEastAsianWidths(DependencyObject element, FontEastAsianWidths value)public static void SetEastAsianWidths(DependencyObject element, FontEastAsianWidths value)Public Static Function SetEastAsianWidths(element As DependencyObject, value As FontEastAsianWidths) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the EastAsianWidths property.

value
FontEastAsianWidths FontEastAsianWidths FontEastAsianWidths

The new value to set the property to.

Attributes

SetFraction(DependencyObject, FontFraction) SetFraction(DependencyObject, FontFraction) SetFraction(DependencyObject, FontFraction)

Sets the value of the Fraction attached property for a specified dependency object.

public static void SetFraction(DependencyObject element, FontFraction value)public static void SetFraction(DependencyObject element, FontFraction value)Public Static Function SetFraction(element As DependencyObject, value As FontFraction) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the Fraction property.

value
FontFraction FontFraction FontFraction

The new value to set the property to.

Attributes

SetHistoricalForms(DependencyObject, Boolean) SetHistoricalForms(DependencyObject, Boolean) SetHistoricalForms(DependencyObject, Boolean)

Sets the value of the HistoricalForms attached property for a specified dependency object.

public static void SetHistoricalForms(DependencyObject element, Boolean value)public static void SetHistoricalForms(DependencyObject element, Boolean value)Public Static Function SetHistoricalForms(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the HistoricalForms property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetHistoricalLigatures(DependencyObject, Boolean) SetHistoricalLigatures(DependencyObject, Boolean) SetHistoricalLigatures(DependencyObject, Boolean)

Sets the value of the HistoricalLigatures attached property for a specified dependency object.

public static void SetHistoricalLigatures(DependencyObject element, Boolean value)public static void SetHistoricalLigatures(DependencyObject element, Boolean value)Public Static Function SetHistoricalLigatures(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the HistoricalLigatures property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetKerning(DependencyObject, Boolean) SetKerning(DependencyObject, Boolean) SetKerning(DependencyObject, Boolean)

Sets the value of the Kerning attached property for a specified dependency object.

public static void SetKerning(DependencyObject element, Boolean value)public static void SetKerning(DependencyObject element, Boolean value)Public Static Function SetKerning(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the Kerning property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetMathematicalGreek(DependencyObject, Boolean) SetMathematicalGreek(DependencyObject, Boolean) SetMathematicalGreek(DependencyObject, Boolean)

Sets the value of the MathematicalGreek attached property for a specified dependency object.

public static void SetMathematicalGreek(DependencyObject element, Boolean value)public static void SetMathematicalGreek(DependencyObject element, Boolean value)Public Static Function SetMathematicalGreek(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the MathematicalGreek property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetNumeralAlignment(DependencyObject, FontNumeralAlignment) SetNumeralAlignment(DependencyObject, FontNumeralAlignment) SetNumeralAlignment(DependencyObject, FontNumeralAlignment)

Sets the value of the NumeralAlignment attached property for a specified dependency object.

public static void SetNumeralAlignment(DependencyObject element, FontNumeralAlignment value)public static void SetNumeralAlignment(DependencyObject element, FontNumeralAlignment value)Public Static Function SetNumeralAlignment(element As DependencyObject, value As FontNumeralAlignment) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the NumeralAlignment property.

value
FontNumeralAlignment FontNumeralAlignment FontNumeralAlignment

The new value to set the property to.

Attributes

SetNumeralStyle(DependencyObject, FontNumeralStyle) SetNumeralStyle(DependencyObject, FontNumeralStyle) SetNumeralStyle(DependencyObject, FontNumeralStyle)

Sets the value of the NumeralStyle attached property for a specified dependency object.

public static void SetNumeralStyle(DependencyObject element, FontNumeralStyle value)public static void SetNumeralStyle(DependencyObject element, FontNumeralStyle value)Public Static Function SetNumeralStyle(element As DependencyObject, value As FontNumeralStyle) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the NumeralStyle property.

value
FontNumeralStyle FontNumeralStyle FontNumeralStyle

The new value to set the property to.

Attributes

SetSlashedZero(DependencyObject, Boolean) SetSlashedZero(DependencyObject, Boolean) SetSlashedZero(DependencyObject, Boolean)

Sets the value of the SlashedZero attached property for a specified dependency object.

public static void SetSlashedZero(DependencyObject element, Boolean value)public static void SetSlashedZero(DependencyObject element, Boolean value)Public Static Function SetSlashedZero(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the SlashedZero property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStandardLigatures(DependencyObject, Boolean) SetStandardLigatures(DependencyObject, Boolean) SetStandardLigatures(DependencyObject, Boolean)

Sets the value of the StandardLigatures attached property for a specified dependency object.

public static void SetStandardLigatures(DependencyObject element, Boolean value)public static void SetStandardLigatures(DependencyObject element, Boolean value)Public Static Function SetStandardLigatures(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StandardLigatures property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStandardSwashes(DependencyObject, Int32) SetStandardSwashes(DependencyObject, Int32) SetStandardSwashes(DependencyObject, Int32)

Sets the value of the StandardSwashes attached property for a specified dependency object.

public static void SetStandardSwashes(DependencyObject element, Int32 value)public static void SetStandardSwashes(DependencyObject element, Int32 value)Public Static Function SetStandardSwashes(element As DependencyObject, value As Int32) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StandardSwashes property.

value
System.Int32 System.Int32 System.Int32

The new value to set the property to.

Attributes

SetStylisticAlternates(DependencyObject, Int32) SetStylisticAlternates(DependencyObject, Int32) SetStylisticAlternates(DependencyObject, Int32)

Sets the value of the StylisticAlternates attached property for a specified dependency object.

public static void SetStylisticAlternates(DependencyObject element, Int32 value)public static void SetStylisticAlternates(DependencyObject element, Int32 value)Public Static Function SetStylisticAlternates(element As DependencyObject, value As Int32) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticAlternates property.

value
System.Int32 System.Int32 System.Int32

The new value to set the property to.

Attributes

SetStylisticSet1(DependencyObject, Boolean) SetStylisticSet1(DependencyObject, Boolean) SetStylisticSet1(DependencyObject, Boolean)

Sets the value of the StylisticSet1 attached property for a specified dependency object.

public static void SetStylisticSet1(DependencyObject element, Boolean value)public static void SetStylisticSet1(DependencyObject element, Boolean value)Public Static Function SetStylisticSet1(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet1 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet10(DependencyObject, Boolean) SetStylisticSet10(DependencyObject, Boolean) SetStylisticSet10(DependencyObject, Boolean)

Sets the value of the StylisticSet10 attached property for a specified dependency object.

public static void SetStylisticSet10(DependencyObject element, Boolean value)public static void SetStylisticSet10(DependencyObject element, Boolean value)Public Static Function SetStylisticSet10(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet10 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet11(DependencyObject, Boolean) SetStylisticSet11(DependencyObject, Boolean) SetStylisticSet11(DependencyObject, Boolean)

Sets the value of the StylisticSet11 attached property for a specified dependency object.

public static void SetStylisticSet11(DependencyObject element, Boolean value)public static void SetStylisticSet11(DependencyObject element, Boolean value)Public Static Function SetStylisticSet11(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet11 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet12(DependencyObject, Boolean) SetStylisticSet12(DependencyObject, Boolean) SetStylisticSet12(DependencyObject, Boolean)

Sets the value of the StylisticSet12 attached property for a specified dependency object.

public static void SetStylisticSet12(DependencyObject element, Boolean value)public static void SetStylisticSet12(DependencyObject element, Boolean value)Public Static Function SetStylisticSet12(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet12 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet13(DependencyObject, Boolean) SetStylisticSet13(DependencyObject, Boolean) SetStylisticSet13(DependencyObject, Boolean)

Sets the value of the StylisticSet13 attached property for a specified dependency object.

public static void SetStylisticSet13(DependencyObject element, Boolean value)public static void SetStylisticSet13(DependencyObject element, Boolean value)Public Static Function SetStylisticSet13(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet13 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet14(DependencyObject, Boolean) SetStylisticSet14(DependencyObject, Boolean) SetStylisticSet14(DependencyObject, Boolean)

Sets the value of the StylisticSet14 attached property for a specified dependency object.

public static void SetStylisticSet14(DependencyObject element, Boolean value)public static void SetStylisticSet14(DependencyObject element, Boolean value)Public Static Function SetStylisticSet14(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet14 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet15(DependencyObject, Boolean) SetStylisticSet15(DependencyObject, Boolean) SetStylisticSet15(DependencyObject, Boolean)

Sets the value of the StylisticSet15 attached property for a specified dependency object.

public static void SetStylisticSet15(DependencyObject element, Boolean value)public static void SetStylisticSet15(DependencyObject element, Boolean value)Public Static Function SetStylisticSet15(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet15 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet16(DependencyObject, Boolean) SetStylisticSet16(DependencyObject, Boolean) SetStylisticSet16(DependencyObject, Boolean)

Sets the value of the StylisticSet16 attached property for a specified dependency object.

public static void SetStylisticSet16(DependencyObject element, Boolean value)public static void SetStylisticSet16(DependencyObject element, Boolean value)Public Static Function SetStylisticSet16(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet16 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet17(DependencyObject, Boolean) SetStylisticSet17(DependencyObject, Boolean) SetStylisticSet17(DependencyObject, Boolean)

Sets the value of the StylisticSet17 attached property for a specified dependency object.

public static void SetStylisticSet17(DependencyObject element, Boolean value)public static void SetStylisticSet17(DependencyObject element, Boolean value)Public Static Function SetStylisticSet17(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet17 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet18(DependencyObject, Boolean) SetStylisticSet18(DependencyObject, Boolean) SetStylisticSet18(DependencyObject, Boolean)

Sets the value of the StylisticSet18 attached property for a specified dependency object.

public static void SetStylisticSet18(DependencyObject element, Boolean value)public static void SetStylisticSet18(DependencyObject element, Boolean value)Public Static Function SetStylisticSet18(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet18 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet19(DependencyObject, Boolean) SetStylisticSet19(DependencyObject, Boolean) SetStylisticSet19(DependencyObject, Boolean)

Sets the value of the StylisticSet19 attached property for a specified dependency object.

public static void SetStylisticSet19(DependencyObject element, Boolean value)public static void SetStylisticSet19(DependencyObject element, Boolean value)Public Static Function SetStylisticSet19(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet19 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet2(DependencyObject, Boolean) SetStylisticSet2(DependencyObject, Boolean) SetStylisticSet2(DependencyObject, Boolean)

Sets the value of the StylisticSet2 attached property for a specified dependency object.

public static void SetStylisticSet2(DependencyObject element, Boolean value)public static void SetStylisticSet2(DependencyObject element, Boolean value)Public Static Function SetStylisticSet2(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet2 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet20(DependencyObject, Boolean) SetStylisticSet20(DependencyObject, Boolean) SetStylisticSet20(DependencyObject, Boolean)

Sets the value of the StylisticSet20 attached property for a specified dependency object.

public static void SetStylisticSet20(DependencyObject element, Boolean value)public static void SetStylisticSet20(DependencyObject element, Boolean value)Public Static Function SetStylisticSet20(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet20 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet3(DependencyObject, Boolean) SetStylisticSet3(DependencyObject, Boolean) SetStylisticSet3(DependencyObject, Boolean)

Sets the value of the StylisticSet3 attached property for a specified dependency object.

public static void SetStylisticSet3(DependencyObject element, Boolean value)public static void SetStylisticSet3(DependencyObject element, Boolean value)Public Static Function SetStylisticSet3(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet3 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet4(DependencyObject, Boolean) SetStylisticSet4(DependencyObject, Boolean) SetStylisticSet4(DependencyObject, Boolean)

Sets the value of the StylisticSet4 attached property for a specified dependency object.

public static void SetStylisticSet4(DependencyObject element, Boolean value)public static void SetStylisticSet4(DependencyObject element, Boolean value)Public Static Function SetStylisticSet4(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet4 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet5(DependencyObject, Boolean) SetStylisticSet5(DependencyObject, Boolean) SetStylisticSet5(DependencyObject, Boolean)

Sets the value of the StylisticSet5 attached property for a specified dependency object.

public static void SetStylisticSet5(DependencyObject element, Boolean value)public static void SetStylisticSet5(DependencyObject element, Boolean value)Public Static Function SetStylisticSet5(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet5 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet6(DependencyObject, Boolean) SetStylisticSet6(DependencyObject, Boolean) SetStylisticSet6(DependencyObject, Boolean)

Sets the value of the StylisticSet6 attached property for a specified dependency object.

public static void SetStylisticSet6(DependencyObject element, Boolean value)public static void SetStylisticSet6(DependencyObject element, Boolean value)Public Static Function SetStylisticSet6(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet6 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet7(DependencyObject, Boolean) SetStylisticSet7(DependencyObject, Boolean) SetStylisticSet7(DependencyObject, Boolean)

Sets the value of the StylisticSet7 attached property for a specified dependency object.

public static void SetStylisticSet7(DependencyObject element, Boolean value)public static void SetStylisticSet7(DependencyObject element, Boolean value)Public Static Function SetStylisticSet7(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet7 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet8(DependencyObject, Boolean) SetStylisticSet8(DependencyObject, Boolean) SetStylisticSet8(DependencyObject, Boolean)

Sets the value of the StylisticSet8 attached property for a specified dependency object.

public static void SetStylisticSet8(DependencyObject element, Boolean value)public static void SetStylisticSet8(DependencyObject element, Boolean value)Public Static Function SetStylisticSet8(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet8 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetStylisticSet9(DependencyObject, Boolean) SetStylisticSet9(DependencyObject, Boolean) SetStylisticSet9(DependencyObject, Boolean)

Sets the value of the StylisticSet9 attached property for a specified dependency object.

public static void SetStylisticSet9(DependencyObject element, Boolean value)public static void SetStylisticSet9(DependencyObject element, Boolean value)Public Static Function SetStylisticSet9(element As DependencyObject, value As Boolean) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the StylisticSet9 property.

value
System.Boolean System.Boolean System.Boolean

The new value to set the property to.

Attributes

SetVariants(DependencyObject, FontVariants) SetVariants(DependencyObject, FontVariants) SetVariants(DependencyObject, FontVariants)

Sets the value of the Variants attached property for a specified dependency object.

public static void SetVariants(DependencyObject element, FontVariants value)public static void SetVariants(DependencyObject element, FontVariants value)Public Static Function SetVariants(element As DependencyObject, value As FontVariants) As void
Parameters
element
DependencyObject DependencyObject DependencyObject

The dependency object for which to set the value of the Variants property.

value
FontVariants FontVariants FontVariants

The new value to set the property to.

Attributes

See Also