Skip to main content

IXlCell.HasQuotePrefix Property

Returns or specifies whether a cell value is prefixed with a single quote.

Namespace: DevExpress.Export.Xl

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


bool HasQuotePrefix { get; set; }

Property Value

Type Description

true if the cell contains a leading quote; otherwise, false.


Enable this option to specify that a number, date, or formula in a cell should be treated as text and cannot be used in calculations.

using (IXlCell cell = row.CreateCell())
    cell.Value = "=A2";
    cell.HasQuotePrefix = true;
See Also