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

TdxSpreadSheetCellsModificationDialogForm.CellsModification Property

Returns the cell modification option selected in the Insert or Delete dialog.

#Declaration

Delphi
property CellsModification: TdxSpreadSheetCellsModification read;

#Property Value

Type Description
TdxSpreadSheetCellsModification

The selected cell modification option.

#Remarks

This property value depends on the dialog used and the option selected in it.

VCL SpreadSheet: The Cell Modification Dialog

Value Insert Dialog Option Delete Dialog Option
cmShiftCellsHorizontally Shift cells right Shift cells left
cmShiftCellsVertically Shift cells down Shift cells up
cmShiftColumns Entire column Entire column
cmShiftRows Entire row Entire row

The ShowCellsModificationDialog global function returns the CellsModification property value as the ACellsModification parameter if a click on the OK button or the Enter keystroke closes the invoked Insert or Delete dialog.

See Also