[]
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.
bool AllowInsertingRows { get; set; }
Property AllowInsertingRows As Boolean
worksheet.Protection = true;
IProtectionSettings protectionSettings = worksheet.ProtectionSettings;
protectionSettings.AllowInsertingRows = true;
bool allowInsertingRows = protectionSettings.AllowInsertingRows;