HtmlCellContentExportOptions.IgnoreDisplayFormat Property
Gets or sets whether to ignore the display format when exporting cell content to HTML.
Namespace: DevExpress.XtraSpreadsheet.Export
Assembly: DevExpress.Spreadsheet.v24.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Remarks
When the IgnoreDisplayFormat
property is set to true
, the table style and conditional formatting is ignored.
Cell B3 in the image below contains conditional formatting:
The table below compares the resulting HTML string with IgnoreDisplayFormat
set to false
and true
:
Property Value | Resulting HTML String |
---|---|
false (default) |
<font style="font-family:Calibri;font-size:11pt;font-weight:bold;font-style:italic;text-decoration: line-through;color:#E36C09;">cell with conditional formatting</font> |
true |
<font style="font-family:Calibri;font-size:11pt;font-weight:normal;font-style:normal;color:#FFFFFF;">cell with conditional formatting</font> |
See Also