Back to Devexpress

TdxSpreadSheetContainerAnchorPoint.Cell Property

vcl-dxspreadsheetcore-dot-tdxspreadsheetcontaineranchorpoint.md

latest2.0 KB
Original Source

TdxSpreadSheetContainerAnchorPoint.Cell Property

Specifies a cell object to which the container anchor point is attached.

Declaration

delphi
property Cell: TdxSpreadSheetCell read; write;

Property Value

TypeDescription
TdxSpreadSheetCell

A spreadsheet cell used as an anchor point for a floating container.

|

Remarks

If the floating container object is anchored to a cell object, its anchor point matches the upper-left corner of the specified cell object’s boundaries. Additionally, you can specify the Offset property value to shift the cell anchor point from the cell object’s upper-left corner horizontally and/or vertically.

Applicability of the Cell property value depends on:

  • The floating container object’s AnchorType property value;

  • The anchor point’s position within the container’s bounding rectangle (i.e., either in the upper-left or bottom-right corner).

Note

To assign an anchor cell to the floating container, you need to create the corresponding cell object. If the floating container uses two anchor cell objects, both of them should be located within the same Table View worksheet.

See Also

TdxSpreadSheetContainerAnchorPoint Class

TdxSpreadSheetContainerAnchorPoint Members

dxSpreadSheetCore Unit