ContextualSwashes Attached Property
Collapse the table of content
Expand the table of content

Typography.ContextualSwashes Attached Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
See GetContextualSwashes, SetContextualSwashes

Property Value

Type: System.Int32
The index of the standard swashes form. The default value is 0 (zero).

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.

Certain combinations of swash glyphs can cause an unattractive appearance, such as overlapping descenders on adjacent letters. Using a contextual swash allows you to use a substitute swash glyph that produces a better appearance.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft