robot_2Generated
code_blocksInput

Description

The None field of the TextDecoration enum represents the absence of any text decoration. It is the default value, meaning that no additional styling such as underlining, overlining, or line-through is applied to the text.

Usage

Use TextDecoration.None when you want to ensure that text is displayed without any decoration. This is useful when you need to explicitly remove any text decoration that might be applied by default or inherited from other styles.

Example

// Example of using TextDecoration.None in a UI component
var label = new Label();
label.Text = "This is plain text.";
label.Style.TextDecoration = TextDecoration.None;