Gets or sets a value specifying whether text is underlined at the current input position. The underlining style is determined through the UnderlineStyle property. If text is selected, the property specifies this attribute for the whole selected text.


public bool? Underline { get; set; }
Public Property Underline() As Nullable(Of Boolean)


The property returns null when the text selection contains multiple characters with mixed styles.