Class UnprotectDialogContext
Provides context for the unprotect dialog.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Dialogs
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class UnprotectDialogContext : ProtectDialogContextBase
Constructors
UnprotectDialogContext(RadSpreadsheetElement, Sheet)
Initializes a new instance of the UnprotectDialogContext class.
Declaration
public UnprotectDialogContext(RadSpreadsheetElement radSpreadsheetElement, Sheet sheet)
Parameters
RadSpreadsheetElement
radSpreadsheetElement
The RAD spreadsheet element. |
Sheet
sheet
The active sheet. |
UnprotectDialogContext(RadSpreadsheetElement, Workbook)
Initializes a new instance of the UnprotectDialogContext class.
Declaration
public UnprotectDialogContext(RadSpreadsheetElement radSpreadsheetElement, Workbook workbook)
Parameters
RadSpreadsheetElement
radSpreadsheetElement
The RAD spreadsheet element. |
Workbook
workbook
The active workbook. |
Properties
DialogHeader
Gets the dialog header.
Declaration
public override string DialogHeader { get; }
Property Value
System.String
The dialog header. |
Overrides
Methods
Unprotect(String)
Unprotects the sheet.
Declaration
public bool Unprotect(string password)
Parameters
System.String
password
The password. |
Returns
System.Boolean
A value indicating whether the unprotecting was successful. |