XlFontBase.Underline Property
Gets or sets the type of underline applied to the cell content.
Namespace: DevExpress.Export.Xl
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public XlUnderlineType Underline { get; set; }
#Property Value
Type | Description |
---|---|
Xl |
An Xl |
Available values:
Name | Description |
---|---|
None | Specifies that the text is not underlined. |
Single | Specifies a single underline. |
Double | Specifies a double underline. |
Single |
Specifies a single accounting underline. Adds a single-line underline that is displayed lower than the Xl |
Double |
Specifies a double accounting underline. Adds a double-line underline that is displayed lower than the Xl |
#Remarks
To specify all the required font characteristics, use the XlFont object properties such as XlFontBase.Name, XlFontBase.Size, XlFontBase.Script, XlFont.Color etc. For an example on how to apply font settings to an individual cell, refer to the How to: Configure Cell Font Settings article.
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Underline property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.