Back to Devexpress

ProtectedRange Members

officefileapi-devexpress-dot-spreadsheet-dot-protectedrange-dot-underscore-members.md

latest1.9 KB
Original Source

ProtectedRange Members

An association of a worksheet range and credentials required to unlock it for editing.

Properties

NameDescription
NameGets or sets the name of the protected range.
RangeGets or sets the worksheet cell or range associated with the current protected range.
RangesObsolete. Gets or sets worksheet ranges for the current ProtectedRange object.
RefersToGets or sets a string that specifies a worksheet cell or cell range with which the protected range is associated.
RefersToInvariantGets or sets a culture-independent string that specifies a worksheet cell or cell range with which the protected range is associated.
SecurityDescriptorGets or sets a security descriptor that defines users and their access rights for the current protected range.

Methods

NameDescription
CreateSecurityDescriptor(IEnumerable<EditRangePermission>)Creates a security descriptor for the current protected range.
SetPassword(String)Specifies the password that unlocks a range on a protected worksheet.

See Also

ProtectedRange Interface

DevExpress.Spreadsheet Namespace