[]
Gets or sets whether the insertion of columns is allowed on a protected worksheet.
This property determines whether users can insert columns while worksheet protection is enabled.
bool AllowInsertingColumns { get; set; }
Property AllowInsertingColumns As Boolean
worksheet.Protection = true;
IProtectionSettings protectionSettings = worksheet.ProtectionSettings;
protectionSettings.AllowInsertingColumns = true;
bool allowInsertingColumns = protectionSettings.AllowInsertingColumns;