Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DocumentProperties.Security Property

Gets or sets the security level of the document.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

DocumentSecurity Security { get; set; }

#Property Value

Type Description
DocumentSecurity

One of the DocumentSecurity enumeration values.

Available values:

Name Description
None

Not specified.

Password

Document is password protected.

ReadonlyRecommended

Document is recommended to be opened as read-only.

ReadonlyEnforced

Document is enforced to be opened as read-only.

Locked

Document is locked for annotation.

#Remarks

The Security property allows you to specify one of the predefined document properties, a full set of which is available by using the IWorkbook.DocumentProperties property. To specify the custom document properties, use the DocumentProperties.Custom property.

See Also