TextDecorations.Underline Property
Silverlight
Specifies an underlined text decoration.
Namespace: System.Windows
Assembly: System.Windows (in System.Windows.dll)
Property Value
Type: System.Windows.TextDecorationCollectionA TextDecorationCollection that represents an underlined text decoration.
The XAML usage for Underline is not an attribute syntax of the TextDecorations type (TextDecorations cannot be instantiated in XAML). Instead, Underline is a static property that can be used to fill properties/attributes that take the type TextDecorationCollection, either in code or XAML. Examples of such properties/attributes are TextBlock.TextDecorations and Inline.TextDecorations.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.