Typography Class
TOC
Collapse the table of content
Expand the table of content

Typography Class

 

Provides access to a rich set of OpenType typography properties.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

System::Object
  System.Windows.Documents::Typography

public ref class Typography sealed 

NameDescription
System_CAPS_pubpropertyAnnotationAlternates

Gets or sets a value that specifies the index of an alternate annotation form.

System_CAPS_pubpropertyCapitals

Gets or sets a FontCapitals enumerated value that indicates the capital form of the selected font.

System_CAPS_pubpropertyCapitalSpacing

Gets or sets a value that determines whether inter-glyph spacing for all-capital text is globally adjusted to improve readability.

System_CAPS_pubpropertyCaseSensitiveForms

Gets or sets a value that determines whether glyphs adjust their vertical position to better align with uppercase glyphs.

System_CAPS_pubpropertyContextualAlternates

Gets or sets a value that determines whether custom glyph forms can be used based upon the context of the text being rendered.

System_CAPS_pubpropertyContextualLigatures

Gets or sets a value that determines whether contextual ligatures are enabled.

System_CAPS_pubpropertyContextualSwashes

Gets or sets a value that specifies the index of a contextual swashes form.

System_CAPS_pubpropertyDiscretionaryLigatures

Gets or sets a value that determines whether discretionary ligatures are enabled.

System_CAPS_pubpropertyEastAsianExpertForms

Gets or sets a value that determines whether the standard Japanese font forms have been replaced with the corresponding preferred typographic forms.

System_CAPS_pubpropertyEastAsianLanguage

Gets or sets a FontEastAsianLanguage enumerated value that indicates the version of glyphs to be used for a specific writing system or language.

System_CAPS_pubpropertyEastAsianWidths

Gets or sets a FontEastAsianWidths enumerated value that indicates the proportional width to be used for Latin characters in an East Asian font.

System_CAPS_pubpropertyFraction

Gets or sets a FontFraction enumerated value that indicates the fraction style.

System_CAPS_pubpropertyHistoricalForms

Gets or sets a value that determines whether historical forms are enabled.

System_CAPS_pubpropertyHistoricalLigatures

Gets or sets a value that indicates whether historical ligatures are enabled.

System_CAPS_pubpropertyKerning

Gets or sets a value that indicates whether kerning is enabled.

System_CAPS_pubpropertyMathematicalGreek

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.

System_CAPS_pubpropertyNumeralAlignment

Gets or sets a FontNumeralAlignment enumerated value that indicates the alighnment of widths when using numerals.

System_CAPS_pubpropertyNumeralStyle

Gets or sets a FontNumeralStyle enumerated value that determines the set of glyphs that are used to render numeric alternate font forms.

System_CAPS_pubpropertySlashedZero

Gets or sets a value that indicates whether a nominal zero font form should be replaced with a slashed zero.

System_CAPS_pubpropertyStandardLigatures

Gets or sets a value that indicates whether standard ligatures are enabled.

System_CAPS_pubpropertyStandardSwashes

Gets or sets a value that specifies the index of a standard swashes form.

System_CAPS_pubpropertyStylisticAlternates

Gets or sets a value that specifies the index of a stylistic alternates form.

System_CAPS_pubpropertyStylisticSet1

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet10

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet11

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet12

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet13

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet14

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet15

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet16

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet17

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet18

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet19

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet2

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet20

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet3

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet4

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet5

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet6

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet7

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet8

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyStylisticSet9

Gets or sets a value that indicates whether a stylistic set of a font form is enabled.

System_CAPS_pubpropertyVariants

Gets or sets a FontVariants enumerated value that indicates a variation of the standard typographic form to be used.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetAnnotationAlternates(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetCapitals(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetCapitalSpacing(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetCaseSensitiveForms(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetContextualAlternates(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetContextualLigatures(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetContextualSwashes(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetDiscretionaryLigatures(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetEastAsianExpertForms(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetEastAsianLanguage(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetEastAsianWidths(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetFraction(DependencyObject^)

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

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetHistoricalForms(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetHistoricalLigatures(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetKerning(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetMathematicalGreek(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetNumeralAlignment(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetNumeralStyle(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetSlashedZero(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStandardLigatures(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStandardSwashes(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticAlternates(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet1(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet10(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet11(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet12(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet13(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet14(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet15(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet16(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet17(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet18(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet19(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet2(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet20(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet3(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet4(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet5(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet6(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet7(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet8(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticGetStylisticSet9(DependencyObject^)

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

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetVariants(DependencyObject^)

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

System_CAPS_pubmethodSystem_CAPS_staticSetAnnotationAlternates(DependencyObject^, Int32)

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

System_CAPS_pubmethodSystem_CAPS_staticSetCapitals(DependencyObject^, FontCapitals)

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

System_CAPS_pubmethodSystem_CAPS_staticSetCapitalSpacing(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetCaseSensitiveForms(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetContextualAlternates(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetContextualLigatures(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetContextualSwashes(DependencyObject^, Int32)

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

System_CAPS_pubmethodSystem_CAPS_staticSetDiscretionaryLigatures(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetEastAsianExpertForms(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetEastAsianLanguage(DependencyObject^, FontEastAsianLanguage)

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

System_CAPS_pubmethodSystem_CAPS_staticSetEastAsianWidths(DependencyObject^, FontEastAsianWidths)

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

System_CAPS_pubmethodSystem_CAPS_staticSetFraction(DependencyObject^, FontFraction)

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

System_CAPS_pubmethodSystem_CAPS_staticSetHistoricalForms(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetHistoricalLigatures(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetKerning(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetMathematicalGreek(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetNumeralAlignment(DependencyObject^, FontNumeralAlignment)

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

System_CAPS_pubmethodSystem_CAPS_staticSetNumeralStyle(DependencyObject^, FontNumeralStyle)

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

System_CAPS_pubmethodSystem_CAPS_staticSetSlashedZero(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStandardLigatures(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStandardSwashes(DependencyObject^, Int32)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticAlternates(DependencyObject^, Int32)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet1(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet10(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet11(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet12(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet13(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet14(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet15(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet16(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet17(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet18(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet19(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet2(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet20(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet3(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet4(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet5(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet6(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet7(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet8(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetStylisticSet9(DependencyObject^, Boolean)

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

System_CAPS_pubmethodSystem_CAPS_staticSetVariants(DependencyObject^, FontVariants)

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

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticAnnotationAlternatesProperty

Identifies the AnnotationAlternates attached property.

System_CAPS_pubfieldSystem_CAPS_staticCapitalSpacingProperty

Identifies the CapitalSpacing attached property.

System_CAPS_pubfieldSystem_CAPS_staticCapitalsProperty

Identifies the Capitals attached property.

System_CAPS_pubfieldSystem_CAPS_staticCaseSensitiveFormsProperty

Identifies the CaseSensitiveForms attached property.

System_CAPS_pubfieldSystem_CAPS_staticContextualAlternatesProperty

Identifies the ContextualAlternates attached property.

System_CAPS_pubfieldSystem_CAPS_staticContextualLigaturesProperty

Identifies the ContextualLigatures attached property.

System_CAPS_pubfieldSystem_CAPS_staticContextualSwashesProperty

Identifies the ContextualSwashes attached property.

System_CAPS_pubfieldSystem_CAPS_staticDiscretionaryLigaturesProperty

Identifies the DiscretionaryLigatures attached property.

System_CAPS_pubfieldSystem_CAPS_staticEastAsianExpertFormsProperty

Identifies the EastAsianExpertForms attached property.

System_CAPS_pubfieldSystem_CAPS_staticEastAsianLanguageProperty

Identifies the EastAsianLanguage attached property.

System_CAPS_pubfieldSystem_CAPS_staticEastAsianWidthsProperty

Identifies the EastAsianWidths attached property.

System_CAPS_pubfieldSystem_CAPS_staticFractionProperty

Identifies the Fraction attached property.

System_CAPS_pubfieldSystem_CAPS_staticHistoricalFormsProperty

Identifies the HistoricalForms attached property.

System_CAPS_pubfieldSystem_CAPS_staticHistoricalLigaturesProperty

Identifies the HistoricalLigatures attached property.

System_CAPS_pubfieldSystem_CAPS_staticKerningProperty

Identifies the Kerning attached property.

System_CAPS_pubfieldSystem_CAPS_staticMathematicalGreekProperty

Identifies the MathematicalGreek attached property.

System_CAPS_pubfieldSystem_CAPS_staticNumeralAlignmentProperty

Identifies the NumeralAlignment attached property.

System_CAPS_pubfieldSystem_CAPS_staticNumeralStyleProperty

Identifies the NumeralStyle attached property.

System_CAPS_pubfieldSystem_CAPS_staticSlashedZeroProperty

Identifies the SlashedZero attached property.

System_CAPS_pubfieldSystem_CAPS_staticStandardLigaturesProperty

Identifies the StandardLigatures attached property.

System_CAPS_pubfieldSystem_CAPS_staticStandardSwashesProperty

Identifies the StandardSwashes attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticAlternatesProperty

Identifies the StylisticAlternates attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet10Property

Identifies the StylisticSet10 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet11Property

Identifies the StylisticSet11 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet12Property

Identifies the StylisticSet12 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet13Property

Identifies the StylisticSet13 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet14Property

Identifies the StylisticSet14 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet15Property

Identifies the StylisticSet15 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet16Property

Identifies the StylisticSet16 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet17Property

Identifies the StylisticSet17 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet18Property

Identifies the StylisticSet18 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet19Property

Identifies the StylisticSet19 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet1Property

Identifies the StylisticSet1 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet20Property

Identifies the StylisticSet20 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet2Property

Identifies the StylisticSet2 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet3Property

Identifies the StylisticSet3 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet4Property

Identifies the StylisticSet4 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet5Property

Identifies the StylisticSet5 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet6Property

Identifies the StylisticSet6 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet7Property

Identifies the StylisticSet7 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet8Property

Identifies the StylisticSet8 attached property.

System_CAPS_pubfieldSystem_CAPS_staticStylisticSet9Property

Identifies the StylisticSet9 attached property.

System_CAPS_pubfieldSystem_CAPS_staticVariantsProperty

Identifies the Variants attached property.

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.

The following text displays standard capital letters for the Pescadero font, followed by the letters styled as "SmallCaps" and "AllSmallCaps". In this case, the same font size is used for all three words.

Text using OpenType capitals

Text using OpenType capitals

The following markup example shows how to define capitals for the Pescadero font, using properties of the Typography object. When the "SmallCaps" format is used, any leading capital letter is ignored.

<Paragraph FontFamily="Pescadero" FontSize="48">
  <Run>CAPITALS</Run>
  <Run Typography.Capitals="SmallCaps">Capitals</Run>
  <Run Typography.Capitals="AllSmallCaps">Capitals</Run>
</Paragraph>

The following code example accomplishes the same task as the previous markup example.

No code example is currently available or this language may not be supported.

The following table lists the properties, values, and default value of the Typography object.

Property

Value(s)

Default Value

AnnotationAlternates

Numeric value – byte

0

Capitals

AllPetiteCaps | AllSmallCaps | Normal | PetiteCaps | SmallCaps | Titling | Unicase

FontCapitals.Normal

CapitalSpacing

Boolean

false

CaseSensitiveForms

Boolean

false

ContextualAlternates

Boolean

true

ContextualLigatures

Boolean

true

ContextualSwashes

Numeric value - byte

0

DiscretionaryLigatures

Boolean

false

EastAsianExpertForms

Boolean

false

EastAsianLanguage

HojoKanji | Jis04 | Jis78 | Jis83 | Jis90 | NlcKanji | Normal | Simplified | Traditional | TraditionalNames

FontEastAsianLanguage.Normal

EastAsianWidths

Full | Half | Normal | Proportional | Quarter | Third

FontEastAsianWidths.Normal

Fraction

Normal | Slashed | Stacked

FontFraction.Normal

HistoricalForms

Boolean

false

HistoricalLigatures

Boolean

false

Kerning

Boolean

true

MathematicalGreek

Boolean

false

NumeralAlignment

Normal | Proportional | Tabular

FontNumeralAlignment.Normal

NumeralStyle

Boolean

FontNumeralStyle.Normal

SlashedZero

Boolean

false

StandardLigatures

Boolean

true

StandardSwashes

numeric value – byte

0

StylisticAlternates

numeric value – byte

0

StylisticSet1

Boolean

false

StylisticSet2

Boolean

false

StylisticSet3

Boolean

false

StylisticSet4

Boolean

false

StylisticSet5

Boolean

false

StylisticSet6

Boolean

false

StylisticSet7

Boolean

false

StylisticSet8

Boolean

false

StylisticSet9

Boolean

false

StylisticSet10

Boolean

false

StylisticSet11

Boolean

false

StylisticSet12

Boolean

false

StylisticSet13

Boolean

false

StylisticSet14

Boolean

false

StylisticSet15

Boolean

false

StylisticSet16

Boolean

false

StylisticSet17

Boolean

false

StylisticSet18

Boolean

false

StylisticSet19

Boolean

false

StylisticSet20

Boolean

false

Variants

Inferior | Normal | Ordinal | Ruby | Subscript | Superscript

FontVariants.Normal

All dependency properties of this class also have an attached property usage in XAML. For instance, you can set the AnnotationAlternates property through this syntax: <object Typography.AnnotationAlternates="value".../>

The following code sample shows the use typographic Capitals in XAML. Notice that the variant feature is applied to all text contained with the Paragraph element.

<FlowDocument FontFamily="Palatino Linotype" FontSize="24">
  <Paragraph Typography.Capitals="SmallCaps">
    This example shows the use of the Capitals property
    of the Typography object. The entirety of this paragraph
    is displayed in small capitals letters,
    except for the first letter of a sentence,
    and where an uppercase letter is used. In these cases,
    a large capital letter is used.
  </Paragraph>
</FlowDocument>

The following code sample shows the use typographic Capitals and NumeralStyle features in XAML. Notice that both typographic properties are applied to the entire paragraph.

<FlowDocument FontFamily="Palatino Linotype" FontSize="24">
    <Paragraph Typography.Capitals="SmallCaps" Typography.NumeralStyle="OldStyle">
      Welcome to C#! . . . 14<LineBreak/>
      Working with Variables, Operators, and Expressions . . . 29<LineBreak/>
      Writing Methods and Applying Scope . . . 45
    </Paragraph>
</FlowDocument>

.NET Framework
Available since 3.0
Silverlight
Available since 5.0
Windows Phone Silverlight
Available since 8.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft