System.Nullable<TextDecorationStyle> TextDecorationStyle { get; set; }

robot_2Generated
code_blocksInput

Description

The TextDecorationStyle property in the BaseStyles class represents the text-decoration-style CSS property. This property specifies the style of the text decoration line, such as underline, overline, or line-through, applied to the text content of an element.

Usage

To use the TextDecorationStyle property, you can set it to one of the values defined in the TextDecorationStyle enumeration. This property is nullable, meaning it can be set to null to indicate that no specific style is applied.

Example

// Example of setting the TextDecorationStyle property
var styles = new BaseStyles();
styles.TextDecorationStyle = TextDecorationStyle.Dashed;