[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IProtectionSettings.AllowInsertingColumns

AllowInsertingColumns Property

AllowInsertingColumns

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.

Declaration
bool AllowInsertingColumns { get; set; }
Property AllowInsertingColumns As Boolean
Examples
worksheet.Protection = true;
IProtectionSettings protectionSettings = worksheet.ProtectionSettings;
protectionSettings.AllowInsertingColumns = true;
bool allowInsertingColumns = protectionSettings.AllowInsertingColumns;