Skip to main content

XlFontBase.StrikeThrough Property

Gets or sets the value indicating whether the cell content is formatted as strikethrough.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public bool StrikeThrough { get; set; }

Property Value

Type Description
Boolean

true, if the strikethrough formatting is applied to the cell text; otherwise, false.

Remarks

To specify all the required font characteristics, use the XlFont object properties such as XlFontBase.Name, XlFontBase.Size, XlFontBase.Script, XlFontBase.Underline, 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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the StrikeThrough 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.

See Also