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