[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IProtectionSettings.AllowFormattingCells

AllowFormattingCells Property

AllowFormattingCells

Gets or sets whether the formatting of cells is allowed on a protected worksheet.

This setting is meaningful only when worksheet protection is enabled.

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