Class UnprotectDialogContext
Provides context for the unprotect dialog.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class UnprotectDialogContext : ProtectDialogContextBase
Constructors
UnprotectDialogContext(RadSpreadsheet, Sheet)
Initializes a new instance of the UnprotectDialogContext class.
Declaration
public UnprotectDialogContext(RadSpreadsheet radSpreadsheet, Sheet sheet)
Parameters
RadSpreadsheet
radSpreadsheet
The RadSpreadsheet. |
Telerik.Windows.Documents.Spreadsheet.Model.Sheet
sheet
The active sheet. |
UnprotectDialogContext(RadSpreadsheet, Workbook)
Initializes a new instance of the UnprotectDialogContext class.
Declaration
public UnprotectDialogContext(RadSpreadsheet radSpreadsheet, Workbook workbook)
Parameters
RadSpreadsheet
radSpreadsheet
The RadSpreadsheet. |
Telerik.Windows.Documents.Spreadsheet.Model.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. |