Typography.HistoricalForms Property

 

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

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

public bool HistoricalForms { get; set; }

Property Value

Type: System.Boolean

true if historical forms are enabled; otherwise, false. The default value is false.

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.

Historical forms are typographic conventions that were common in the past. The following text displays the phrase, "Boston, Massachusetts", using an historical form of glyphs for the Palatino Linotype font.

Text using OpenType historical forms

Example of historical forms

The following code example shows how to define historical forms for the Palatino Linotype font, using the HistoricalForms property.

<Paragraph FontFamily="Palatino Linotype">
  <Run Typography.HistoricalForms="True">Boston, Massachusetts</Run>
</Paragraph>

<object Typography.HistoricalForms="bool"/>

.NET Framework
Available since 3.0
Return to top
Show: