Skype:TextControlSupport
Orders:877-462-4772
TX Text Control - word processing components.

Selection.Underline Property

Description:  Gets or sets underlining styles for the selected text.

Syntax: 
[C#]
public FontUnderlineStyle Underline { get; set; }
[Visual Basic]
Public Property Underline() As FontUnderlineStyle
Value   Description
 
None Text is not underlined.

Single Text is underlined with a single line.

Doubled Text is underlined with a doubled line.

SingleWordsOnly Only the words of the text are underlined with a single line.

DoubledWordsOnly Only the words of the text are underlined with a doubled line.

Remarks:  The property's default value is FontUnderlineStyle.None.
The property returns its default value when the text selection contains multiple characters with mixed styles. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.

Limitations:  Runtime only.

See also:  Text Selections and Character Input, Graphical Overview.
External verification page for ISO 9000:2000 certificate
ISO 9001:2000
certified