This documentation is archived and is not being maintained.

TextDecorations.OverLine Property

Specifies an overline TextDecoration.

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

public static TextDecorationCollection OverLine { get; }
You cannot set this property in XAML.

Property Value

Type: System.Windows.TextDecorationCollection
A value that represents an overline TextDecoration.

The following example shows the location of an overline text decoration relative to the text.

Example of an overline text decoration

Diagram of text decoration locations

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: