Gets or sets a value that specifies the index of a standard swashes form.
Assembly: PresentationFramework (in PresentationFramework.dll)
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.
Swashes are decorative glyphs that use elaborate ornamentation often associated with calligraphy. The following text displays standard and swash glyphs for the Pescadero font.
Swashes are often used as decorative elements in short phrases such as event announcements. The following text uses swashes to emphasize the capital letters of the name of the event.
The following code example shows how to define swashes for a font, using theproperty.
<Paragraph FontFamily="Pescadero" TextBlock.TextAlignment="Center"> Wishing you a<LineBreak/> <Run Typography.StandardSwashes="1" FontSize="36">Happy New Year!</Run> </Paragraph>
If the value ofis greater than zero and the selected font does not support standard swashes forms at the given index value, the default form of the letter is displayed.
Available since 3.0