Skip to main content

TdxSpreadSheetSheetProtectionOptions.AllowDeleteRows Property

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

Declaration

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