All docs
V20.2
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

IXlCell.HasQuotePrefix Property

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

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v20.2.Core.dll

Declaration

bool HasQuotePrefix { get; set; }
Property HasQuotePrefix As Boolean

Property Value

Type Description
Boolean

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

Remarks

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