Class
UnprotectDialogContext

Provides context for the unprotect dialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class UnprotectDialogContext : ProtectDialogContextBase

Inheritance: objectRadSpreadsheetDialogContextProtectDialogContextBaseUnprotectDialogContext

Inherited Members RadSpreadsheetDialogContext.RadSpreadsheetRadSpreadsheetDialogContext.Owner

Constructors

UnprotectDialogContext(RadSpreadsheet, Sheet)

Initializes a new instance of the UnprotectDialogContext class.

Declaration

cs-api-definition
public UnprotectDialogContext(RadSpreadsheet radSpreadsheet, Sheet sheet)

Parameters

radSpreadsheet

RadSpreadsheet

The RadSpreadsheet.

sheet

Sheet

The active sheet.

UnprotectDialogContext(RadSpreadsheet, Workbook)

Initializes a new instance of the UnprotectDialogContext class.

Declaration

cs-api-definition
public UnprotectDialogContext(RadSpreadsheet radSpreadsheet, Workbook workbook)

Parameters

radSpreadsheet

RadSpreadsheet

The RadSpreadsheet.

workbook

Workbook

The active workbook.

Properties

DialogHeader

Gets the dialog header.

Declaration

cs-api-definition
public override string DialogHeader { get; }

Property Value

string

The dialog header.

Overrides ProtectDialogContextBase.DialogHeader

Methods

Unprotect(string)

Unprotects the sheet.

Declaration

cs-api-definition
public bool Unprotect(string password)

Parameters

password

string

The password.

Returns

bool

A value indicating whether the unprotecting was successful.