Typography Class
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Provides access to a rich set of OpenType typography properties. This class cannot be inherited.
Inheritance Hierarchy
System.Object
System.Windows.Documents.Typography
Namespace: System.Windows.Documents
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
Public NotInheritable Class Typography
public static class Typography
The Typography type exposes the following members.
Attached Properties
Name | Description | |
---|---|---|
AnnotationAlternates | Gets or sets a value that specifies the index of an alternate annotation form. | |
Capitals | Gets or sets a FontCapitals enumerated value that indicates the capital form of the selected font. | |
CapitalSpacing | Gets or sets a value that determines whether inter-glyph spacing for all-capital text is globally adjusted to improve readability. | |
CaseSensitiveForms | Gets or sets a value that determines whether glyphs adjust their vertical position to better align with uppercase glyphs. | |
ContextualAlternates | Gets or sets a value that determines whether custom glyph forms can be used based upon the context of the text being rendered. | |
ContextualLigatures | Gets or sets a value that determines whether contextual ligatures are enabled. | |
ContextualSwashes | Gets or sets a value that specifies the index of a contextual swashes form. | |
DiscretionaryLigatures | Gets or sets a value that determines whether discretionary ligatures are enabled. | |
EastAsianExpertForms | Gets or sets a value that determines whether the standard Japanese font forms have been replaced with the corresponding preferred typographic forms. | |
EastAsianLanguage | Gets or sets a FontEastAsianLanguage enumerated value that indicates the version of glyphs to be used for a specific writing system or language. | |
EastAsianWidths | Gets or sets a FontEastAsianWidths enumerated value that indicates the proportional width to be used for Latin characters in an East Asian font. | |
Fraction | Gets or sets a FontFraction enumerated value that indicates the fraction style. | |
HistoricalForms | Gets or sets a value that determines whether historical forms are enabled. | |
HistoricalLigatures | Gets or sets a value that indicates whether historical ligatures are enabled. | |
Kerning | Gets or sets a value that indicates whether kerning is enabled. | |
MathematicalGreek | Gets or sets a value that indicates whether standard typographic font forms of Greek glyphs have been replaced with corresponding font forms commonly used in mathematical notation. | |
NumeralAlignment | Gets or sets a FontNumeralAlignment enumerated value that indicates the alignment of widths when using numerals. | |
NumeralStyle | Gets or sets a FontNumeralStyle enumerated value that determines the set of glyphs that are used to render numeric alternate font forms. | |
SlashedZero | Gets or sets a value that indicates whether a nominal zero font form should be replaced with a slashed zero. | |
StandardLigatures | Gets or sets a value that indicates whether standard ligatures are enabled. | |
StandardSwashes | Gets or sets a value that specifies the index of a standard swashes form. | |
StylisticAlternates | Gets or sets a value that specifies the index of a stylistic alternates form | |
StylisticSet1 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet10 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet11 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet12 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet13 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet14 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet15 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet16 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet17 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet18 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet19 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet2 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet20 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet3 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet4 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet5 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet6 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet7 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet8 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
StylisticSet9 | Gets or sets a value that indicates whether a stylistic set of a font form is enabled. | |
Variants | Gets or sets a FontVariants enumerated value that indicates a variation of the standard typographic form to be used. |
Top
Methods
Name | Description | |
---|---|---|
GetAnnotationAlternates | Returns the value of the AnnotationAlternates attached property for a specified dependency object. | |
GetCapitals | Returns the value of the Capitals attached property for a specified dependency object. | |
GetCapitalSpacing | Returns the value of the CapitalSpacing attached property for a specified dependency object. | |
GetCaseSensitiveForms | Returns the value of the CaseSensitiveForms attached property for a specified dependency object. | |
GetContextualAlternates | Returns the value of the ContextualAlternates attached property for a specified dependency object. | |
GetContextualLigatures | Returns the value of the ContextualLigatures attached property for a specified dependency object. | |
GetContextualSwashes | Returns the value of the ContextualSwashes attached property for a specified dependency object. | |
GetDiscretionaryLigatures | Returns the value of the DiscretionaryLigatures attached property for a specified dependency object. | |
GetEastAsianExpertForms | Returns the value of the EastAsianExpertForms attached property for a specified dependency object. | |
GetEastAsianLanguage | Returns the value of the EastAsianLanguage attached property for a specified dependency object. | |
GetEastAsianWidths | Returns the value of the EastAsianWidths attached property for a specified dependency object. | |
GetFraction | Returns the value of the Fraction attached property for a specified dependency object. | |
GetHistoricalForms | Returns the value of the HistoricalForms attached property for a specified dependency object. | |
GetHistoricalLigatures | Returns the value of the HistoricalLigatures attached property for a specified dependency object. | |
GetKerning | Returns the value of the Kerning attached property for a specified dependency object. | |
GetMathematicalGreek | Returns the value of the MathematicalGreek attached property for a specified dependency object. | |
GetNumeralAlignment | Returns the value of the NumeralAlignment attached property for a specified dependency object. | |
GetNumeralStyle | Returns the value of the NumeralStyle attached property for a specified dependency object. | |
GetSlashedZero | Returns the value of the SlashedZero attached property for a specified dependency object. | |
GetStandardLigatures | Returns the value of the StandardLigatures attached property for a specified dependency object. | |
GetStandardSwashes | Returns the value of the StandardSwashes attached property for a specified dependency object. | |
GetStylisticAlternates | Returns the value of the StylisticAlternates attached property for a specified dependency object. | |
GetStylisticSet1 | Returns the value of the StylisticSet1 attached property for a specified dependency object. | |
GetStylisticSet10 | Returns the value of the StylisticSet10 attached property for a specified dependency object. | |
GetStylisticSet11 | Returns the value of the StylisticSet11 attached property for a specified dependency object. | |
GetStylisticSet12 | Returns the value of the StylisticSet12 attached property for a specified dependency object. | |
GetStylisticSet13 | Returns the value of the StylisticSet13 attached property for a specified dependency object. | |
GetStylisticSet14 | Returns the value of the StylisticSet14 attached property for a specified dependency object. | |
GetStylisticSet15 | Returns the value of the StylisticSet15 attached property for a specified dependency object. | |
GetStylisticSet16 | Returns the value of the StylisticSet16 attached property for a specified dependency object. | |
GetStylisticSet17 | Returns the value of the StylisticSet17 attached property for a specified dependency object. | |
GetStylisticSet18 | Returns the value of the StylisticSet18 attached property for a specified dependency object. | |
GetStylisticSet19 | Returns the value of the StylisticSet19 attached property for a specified dependency object. | |
GetStylisticSet2 | Returns the value of the StylisticSet2 attached property for a specified dependency object. | |
GetStylisticSet20 | Returns the value of the StylisticSet20 attached property for a specified dependency object. | |
GetStylisticSet3 | Returns the value of the StylisticSet3 attached property for a specified dependency object. | |
GetStylisticSet4 | Returns the value of the StylisticSet4 attached property for a specified dependency object. | |
GetStylisticSet5 | Returns the value of the StylisticSet5 attached property for a specified dependency object. | |
GetStylisticSet6 | Returns the value of the StylisticSet6 attached property for a specified dependency object. | |
GetStylisticSet7 | Returns the value of the StylisticSet7 attached property for a specified dependency object. | |
GetStylisticSet8 | Returns the value of the StylisticSet8 attached property for a specified dependency object. | |
GetStylisticSet9 | Returns the value of the StylisticSet9 attached property for a specified dependency object. | |
GetVariants | Returns the value of the Variants attached property for a specified dependency object. | |
SetAnnotationAlternates | Sets the value of the AnnotationAlternates attached property for a specified dependency object. | |
SetCapitals | Sets the value of the Capitals attached property for a specified dependency object. | |
SetCapitalSpacing | Sets the value of the CapitalSpacing attached property for a specified dependency object. | |
SetCaseSensitiveForms | Sets the value of the CaseSensitiveForms attached property for a specified dependency object. | |
SetContextualAlternates | Sets the value of the ContextualAlternates attached property for a specified dependency object. | |
SetContextualLigatures | Sets the value of the ContextualLigatures attached property for a specified dependency object. | |
SetContextualSwashes | Sets the value of the ContextualSwashes attached property for a specified dependency object. | |
SetDiscretionaryLigatures | Sets the value of the DiscretionaryLigatures attached property for a specified dependency object. | |
SetEastAsianExpertForms | Sets the value of the EastAsianExpertForms attached property for a specified dependency object. | |
SetEastAsianLanguage | Sets the value of the EastAsianLanguage attached property for a specified dependency object. | |
SetEastAsianWidths | Sets the value of the EastAsianWidths attached property for a specified dependency object. | |
SetFraction | Sets the value of the Fraction attached property for a specified dependency object. | |
SetHistoricalForms | Sets the value of the HistoricalForms attached property for a specified dependency object. | |
SetHistoricalLigatures | Sets the value of the HistoricalLigatures attached property for a specified dependency object. | |
SetKerning | Sets the value of the Kerning attached property for a specified dependency object. | |
SetMathematicalGreek | Sets the value of the MathematicalGreek attached property for a specified dependency object. | |
SetNumeralAlignment | Sets the value of the NumeralAlignment attached property for a specified dependency object. | |
SetNumeralStyle | Sets the value of the NumeralStyle attached property for a specified dependency object. | |
SetSlashedZero | Sets the value of the SlashedZero attached property for a specified dependency object. | |
SetStandardLigatures | Sets the value of the StandardLigatures attached property for a specified dependency object. | |
SetStandardSwashes | Sets the value of the StandardSwashes attached property for a specified dependency object. | |
SetStylisticAlternates | Sets the value of the StylisticAlternates attached property for a specified dependency object. | |
SetStylisticSet1 | Sets the value of the StylisticSet1 attached property for a specified dependency object. | |
SetStylisticSet10 | Sets the value of the StylisticSet10 attached property for a specified dependency object. | |
SetStylisticSet11 | Sets the value of the StylisticSet11 attached property for a specified dependency object. | |
SetStylisticSet12 | Sets the value of the StylisticSet12 attached property for a specified dependency object. | |
SetStylisticSet13 | Sets the value of the StylisticSet13 attached property for a specified dependency object. | |
SetStylisticSet14 | Sets the value of the StylisticSet14 attached property for a specified dependency object. | |
SetStylisticSet15 | Sets the value of the StylisticSet15 attached property for a specified dependency object. | |
SetStylisticSet16 | Sets the value of the StylisticSet16 attached property for a specified dependency object. | |
SetStylisticSet17 | Sets the value of the StylisticSet17 attached property for a specified dependency object. | |
SetStylisticSet18 | Sets the value of the StylisticSet18 attached property for a specified dependency object. | |
SetStylisticSet19 | Sets the value of the StylisticSet19 attached property for a specified dependency object. | |
SetStylisticSet2 | Sets the value of the StylisticSet2 attached property for a specified dependency object. | |
SetStylisticSet20 | Sets the value of the StylisticSet20 attached property for a specified dependency object. | |
SetStylisticSet3 | Sets the value of the StylisticSet3 attached property for a specified dependency object. | |
SetStylisticSet4 | Sets the value of the StylisticSet4 attached property for a specified dependency object. | |
SetStylisticSet5 | Sets the value of the StylisticSet5 attached property for a specified dependency object. | |
SetStylisticSet6 | Sets the value of the StylisticSet6 attached property for a specified dependency object. | |
SetStylisticSet7 | Sets the value of the StylisticSet7 attached property for a specified dependency object. | |
SetStylisticSet8 | Sets the value of the StylisticSet8 attached property for a specified dependency object. | |
SetStylisticSet9 | Sets the value of the StylisticSet9 attached property for a specified dependency object. | |
SetVariants | Sets the value of the Variants attached property for a specified dependency object. |
Top
Fields
Name | Description | |
---|---|---|
AnnotationAlternatesProperty | Identifies the AnnotationAlternates dependency property. | |
CapitalSpacingProperty | Identifies the CapitalSpacing dependency property. | |
CapitalsProperty | Identifies the Capitals dependency property. | |
CaseSensitiveFormsProperty | Identifies the CaseSensitiveForms dependency property. | |
ContextualAlternatesProperty | Identifies the ContextualAlternates dependency property. | |
ContextualLigaturesProperty | Identifies the ContextualLigatures dependency property. | |
ContextualSwashesProperty | Identifies the ContextualSwashes dependency property. | |
DiscretionaryLigaturesProperty | Identifies the DiscretionaryLigatures dependency property. | |
EastAsianExpertFormsProperty | Identifies the EastAsianExpertForms dependency property. | |
EastAsianLanguageProperty | Identifies the EastAsianLanguage dependency property. | |
EastAsianWidthsProperty | Identifies the EastAsianWidths dependency property. | |
FractionProperty | Identifies the Fraction dependency property. | |
HistoricalFormsProperty | Identifies the HistoricalForms dependency property. | |
HistoricalLigaturesProperty | Identifies the HistoricalLigatures dependency property. | |
KerningProperty | Identifies the Kerning dependency property. | |
MathematicalGreekProperty | Identifies the MathematicalGreek dependency property. | |
NumeralAlignmentProperty | Identifies the NumeralAlignment dependency property. | |
NumeralStyleProperty | Identifies the NumeralStyle dependency property. | |
SlashedZeroProperty | Identifies the SlashedZero dependency property. | |
StandardLigaturesProperty | Identifies the StandardLigatures dependency property. | |
StandardSwashesProperty | Identifies the StandardSwashes dependency property. | |
StylisticAlternatesProperty | Identifies the StylisticAlternates dependency property. | |
StylisticSet10Property | Identifies the StylisticSet10 dependency property. | |
StylisticSet11Property | Identifies the StylisticSet11 dependency property. | |
StylisticSet12Property | Identifies the StylisticSet12 dependency property. | |
StylisticSet13Property | Identifies the StylisticSet13 dependency property. | |
StylisticSet14Property | Identifies the StylisticSet14 dependency property. | |
StylisticSet15Property | Identifies the StylisticSet15 dependency property. | |
StylisticSet16Property | Identifies the StylisticSet16 dependency property. | |
StylisticSet17Property | Identifies the StylisticSet17 dependency property. | |
StylisticSet18Property | Identifies the StylisticSet18 dependency property. | |
StylisticSet19Property | Identifies the StylisticSet19 dependency property. | |
StylisticSet1Property | Identifies the StylisticSet1 dependency property. | |
StylisticSet20Property | Identifies the StylisticSet20 dependency property. | |
StylisticSet2Property | Identifies the StylisticSet2 dependency property. | |
StylisticSet3Property | Identifies the StylisticSet3 dependency property. | |
StylisticSet4Property | Identifies the StylisticSet4 dependency property. | |
StylisticSet5Property | Identifies the StylisticSet5 dependency property. | |
StylisticSet6Property | Identifies the StylisticSet6 dependency property. | |
StylisticSet7Property | Identifies the StylisticSet7 dependency property. | |
StylisticSet8Property | Identifies the StylisticSet8 dependency property. | |
StylisticSet9Property | Identifies the StylisticSet9 dependency property. | |
VariantsProperty | Identifies the Variants dependency property. |
Top
Remarks
The Typography object exposes the set of features that an OpenType font supports. By setting the properties of Typography in markup or code, you can easily author documents that take advantage of OpenType features.
Version Information
Silverlight
Supported in: 5
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.