officefileapi-devexpress-dot-spreadsheet-2a664a4f.md
Lists underline styles.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public enum UnderlineType
Public Enum UnderlineType
| Name | Description |
|---|---|
None |
Indicates that the text is not underlined.
|
| Single |
Specifies a single underline.
|
| Double |
Specifies a double underline.
|
| SingleAccounting |
Specifies a single accounting underline (an underline that fills the entire cell width).
|
| DoubleAccounting |
Specifies a double accounting underline (an underline that fills the entire cell width).
|
The following properties accept/return UnderlineType values:
Use the SpreadsheetFont.UnderlineType property to specify the underline style for cell content. For more information on how to specify cell font attributes, refer to the How to: Configure Cell Font Settings example.
See Also