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

WriteProtectionOptions Members

In This Article
Contains write-protection options for a workbook.

#Properties

Name Description
IsPasswordProtected Indicates whether a workbook is write-protected.
ReadOnlyRecommended Returns or specifies whether the author of the workbook recommended that it be opened as read-only.
UserName Returns or specifies the name of the user who write-protected the workbook.

#Methods

Name Description
CheckPassword(String) Checks whether the specified password is the same as the password used to write-protect a workbook.
ClearPassword() Clears the password used to modify a workbook.
SetPassword(String) Specifies the password used to modify a workbook.
See Also