[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IProtectionSettings.AllowInsertingRows

AllowInsertingRows Property

AllowInsertingRows

Gets or sets whether the insertion of rows is allowed on a protected worksheet.

This property determines whether users can insert rows while worksheet protection is enabled.

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