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