Class UnprotectDialogViewModel
Provides a view model for the unprotect dialog.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Dialogs
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class UnprotectDialogViewModel : DialogViewModelBase<UnprotectDialogContext>, INotifyPropertyChanged
Constructors
UnprotectDialogViewModel(UnprotectDialogContext, Action)
Initializes a new instance of the UnprotectDialogViewModel class.
Declaration
public UnprotectDialogViewModel(UnprotectDialogContext context, Action closeDialogAction)
Parameters
UnprotectDialogContext
context
The context. |
System.Action
closeDialogAction
The close dialog action. |
Properties
CloseCommand
Gets or sets the close command.
Declaration
public ICommand CloseCommand { get; set; }
Property Value
System.Windows.Input.ICommand
The close command. |
DialogHeader
Gets the dialog header.
Declaration
public string DialogHeader { get; }
Property Value
System.String
The dialog header. |
OkCommand
Gets or sets the ok command.
Declaration
public ICommand OkCommand { get; set; }
Property Value
System.Windows.Input.ICommand
The ok command. |
ProtectionPassword
Gets or sets the protection password.
Declaration
public string ProtectionPassword { get; set; }
Property Value
System.String
The protection password. |
Methods
ApplyChanges(String)
Applies the changes.
Declaration
public bool ApplyChanges(string password)
Parameters
System.String
password
The password. |
Returns
System.Boolean
|