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