Class ProtectDialogContext
Provides context for the protection dialog.
Namespace: Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class ProtectDialogContext : ProtectDialogContextBase
Constructors
ProtectDialogContext(RadSpreadsheet, Sheet)
Initializes a new instance of the Protect
Declaration
public ProtectDialogContext(RadSpreadsheet radSpreadsheet, Sheet sheet)
Parameters
Rad The RadSpreadsheet. |
Telerik. The active sheet. |
ProtectDialogContext(RadSpreadsheet, Workbook)
Initializes a new instance of the Protect
Declaration
public ProtectDialogContext(RadSpreadsheet radSpreadsheet, Workbook workbook)
Parameters
Rad The RadSpreadsheet. |
Telerik. The active workbook. |
Properties
DialogHeader
Gets the dialog header.
Declaration
public override string DialogHeader { get; }
Property Value
System. The dialog header. |
Overrides
Methods
GetProtectionsOptions()
Gets the protections options.
Declaration
public IEnumerable<ProtectDialogOption> GetProtectionsOptions()
Returns
System. An enumeration of protection options. |
Protect(String, IEnumerable<ProtectDialogOption>)
Protects the current sheet or workbook.
Declaration
public void Protect(string password, IEnumerable<ProtectDialogOption> protectionOptions)
Parameters
System. The password. |
System. The protection options. |