The Dashed
field is a member of the TextDecorationStyle
enumeration within the Sandbox.UI
namespace. It represents a text decoration style that draws a dashed line, which can be used to style text elements in a user interface.
The Dashed
field is a member of the TextDecorationStyle
enumeration within the Sandbox.UI
namespace. It represents a text decoration style that draws a dashed line, which can be used to style text elements in a user interface.
To use the Dashed
style, assign it to a text element's decoration style property. This will render the text with a dashed line decoration, typically used for underlining or striking through text.
// Example of using TextDecorationStyle.Dashed var textElement = new TextElement(); textElement.DecorationStyle = TextDecorationStyle.Dashed; // This will render the text with a dashed underline or strikethrough, depending on the context.