DesktopTextArea.SelectionUnderline

From Xojo Documentation

Property (As Boolean )
aDesktopTextArea.SelectionUnderline = newBooleanValue
or
BooleanValue = aDesktopTextArea.SelectionUnderline

New in 2021r3

Supported for all project types and targets.

Used to get and set the underline style of the selected text.