[]
Gets or sets whether the deletion of rows is allowed on a protected worksheet.
This setting is meaningful only when worksheet protection is enabled.
bool AllowDeletingRows { get; set; }
Property AllowDeletingRows As Boolean
worksheet.Protection = true;
IProtectionSettings protectionSettings = worksheet.ProtectionSettings;
protectionSettings.AllowDeletingRows = true;
bool allowDeletingRows = protectionSettings.AllowDeletingRows;