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

TdxSpreadSheetSheetProtectionOptions.AllowDeleteRows Property

Specifies if an end-user can delete rows in a protected worksheet.

#Declaration

Delphi
property AllowDeleteRows: Boolean index 1 read; write; default False;

#Property Value

Type Default
Boolean False

#Remarks

This property corresponds to the Delete rows checkbox in the Protect Sheet dialog:

The Protect Sheet Dialog

Set the AllowDeleteRows property to True to allow an end-user to delete rows in a protected worksheet either by clicking the Delete item in the row header context menu or by executing the DeleteRows command.

To identify if an end-user is currently able to delete rows, use the ActualAllowDeleteRows property.

The default value of the AllowDeleteRows property is False.

See Also