Class ProtectDialogContext
Provides context for the protection dialog.
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Dialogs
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class ProtectDialogContext : ProtectDialogContextBase
Constructors
ProtectDialogContext(RadSpreadsheetElement, Sheet)
Initializes a new instance of the Protect
Declaration
public ProtectDialogContext(RadSpreadsheetElement radSpreadsheetElement, Sheet sheet)
Parameters
Rad The RAD spreadsheet element. |
Sheet
sheet
The active sheet. |
ProtectDialogContext(RadSpreadsheetElement, Workbook)
Initializes a new instance of the Protect
Declaration
public ProtectDialogContext(RadSpreadsheetElement radSpreadsheetElement, Workbook workbook)
Parameters
Rad The RAD spreadsheet element. |
Workbook
workbook
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. |