Typography.ContextualLigatures Attached Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a value that determines whether contextual ligatures are enabled.

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

Syntax

'Declaration
See GetContextualLigatures, SetContextualLigatures
See GetContextualLigatures, SetContextualLigatures

Property Value

Type: System.Boolean
true if contextual ligatures are enabled; otherwise, false. The default value is true.

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.

Contextual ligatures are designed to enhance readability by providing better joining behavior between the characters that make up the ligature.

If the value of ContextualLigatures is true and the selected font does not support contextual ligatures, the default form of the letter is displayed.

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.