Provides a view model for the unprotect dialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
C#
public class UnprotectDialogViewModel : DialogViewModelBase<UnprotectDialogContext>
Inheritance: objectDialogViewModelBase<UnprotectDialogContext>UnprotectDialogViewModel
Inherited Members
Constructors
Initializes a new instance of the UnprotectDialogViewModel class.
C#
public UnprotectDialogViewModel(UnprotectDialogContext context, Action closeDialogAction)
The context.
closeDialogActionActionThe close dialog action.
Properties
Gets or sets the close command.
C#
public ICommand CloseCommand { get; set; }
The close command.
Gets the dialog header.
C#
public string DialogHeader { get; }
The dialog header.
Gets or sets the ok command.
C#
public ICommand OkCommand { get; set; }
The ok command.
Gets or sets the protection password.
C#
public string ProtectionPassword { get; set; }
The protection password.