robot_2Generated
code_blocksInput

Description

The TextDecorationStyle.Solid field is a member of the TextDecorationStyle enumeration within the Sandbox.UI namespace. It represents a style option for text decoration that draws a single, continuous solid line beneath the text. This is typically used in UI design to underline text in a straightforward and unembellished manner.

Usage

To use the TextDecorationStyle.Solid field, you can assign it to a property that accepts a TextDecorationStyle value. This is commonly used in styling text elements within a user interface to apply a solid underline.

Example

// Example of using TextDecorationStyle.Solid in a UI component
var textElement = new TextElement();
textElement.DecorationStyle = TextDecorationStyle.Solid;

// This will render the text with a solid underline.