[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IProtectionSettings.AllowSorting

AllowSorting Property

AllowSorting

Gets or sets whether the sorting option is allowed on a protected worksheet.

This property indicates whether users can sort ranges when worksheet protection is enabled.

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