Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IdxSpreadSheetCellData.AsFormula Property

Provides access to a parsed formula expression associated with a cell.

#Declaration

Delphi
property AsFormula: TObject read;

#Property Value

Type
TObject

#Remarks

To access properties and methods of the stored formula expression, cast the AsFormula property value to the corresponding TdxSpreadSheetCustomFormula descendant class (TdxSpreadSheetFormula, for instance). The AsFormula property returns nil if no formula expression is associated with a cell. If the cell has a formula, you can identify its error status by using the AsError property, and the DataType property returns cdtFormula.

See Also