[]
Gets or sets whether the user is allowed to use an AutoFilter that was created before the sheet was protected.
This property indicates whether filtering remains available after worksheet protection is enabled.
bool AllowFiltering { get; set; }
Property AllowFiltering As Boolean
worksheet.Protection = true;
IProtectionSettings protectionSettings = worksheet.ProtectionSettings;
protectionSettings.AllowFiltering = true;
bool allowFiltering = protectionSettings.AllowFiltering;