Typography.StylisticAlternates Attached Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets or sets a value that specifies the index of a stylistic alternates form
Namespace: System.Windows.Documents
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
See GetStylisticAlternates, SetStylisticAlternates
See GetStylisticAlternates, SetStylisticAlternates
Property Value
Type: System.Int32
The index of the stylistic alternates form. The default value is 0 (zero).
Remarks
This property gets or sets a value on the object that owns a Typography property, which is the only way to access a Typography class instance. In addition, this property supports an attached property usage so that it can be set on text-containing objects in XAML.
Alternates are glyphs that can be substituted for a standard glyph. OpenType fonts, such as the Pericles font used in the following examples, contain alternate glyphs that you can use to create different appearances for text.
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.