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

TdxSpreadSheetCustomFormula.Anchor Property

Returns the coordinates of the formula expression’s anchor cell.

#Declaration

Delphi
property Anchor: TPoint read;

#Property Value

Type
TPoint

#Remarks

This property returns valid coordinates of the cell that contains the current formula expression within a worksheet or Grid View. Use the Anchor.X and Anchor.Y field values to obtain zero-based indexes of the row and column to which the cell belongs.

Alternatively, you can use the AnchorColumn and AnchorRow properties.

Note

Use the Cell property implemented by the TdxSpreadSheetFormula class to obtain the cell object hosting the formula expression in the case of the Spreadsheet or Report Designer control.

See Also