Typography.HistoricalForms Property

Definition

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

C#
public bool HistoricalForms { get; set; }

Property Value

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

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.

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.

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

XAML Attribute Usage

<object Typography.HistoricalForms="bool"/>

Dependency Property Information

Item Value
Identifier field HistoricalFormsProperty
Metadata properties set to true AffectsMeasure, AffectsRender, Inherits

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also