Provides a view model for the protection dialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class ProtectDialogViewModel : DialogViewModelBase<ProtectDialogContext>
Inheritance: objectDialogViewModelBase<ProtectDialogContext>ProtectDialogViewModel
Inherited Members
Constructors
Initializes a new instance of the ProtectDialogViewModel class.
public ProtectDialogViewModel(ProtectDialogContext context, Action closeDialogAction)
The context.
closeDialogActionActionThe close dialog action.
Properties
Gets or sets the close command.
public ICommand CloseCommand { get; set; }
The close command.
Gets the dialog header.
public string DialogHeader { get; }
The dialog header.
Gets the value indicating whether there are protection options.
public bool HasProtectionOptions { get; }
The value indicating whether there are protection options.
Gets or sets the ok command.
public ICommand OkCommand { get; set; }
The ok command.
Gets the protection options.
public IEnumerable<ProtectDialogOption> ProtectionOptions { get; }
The protection options.
Gets or sets the protection password.
public string ProtectionPassword { get; set; }
The protection password.
Gets or sets the protection repeat password.
public string ProtectionRepeatPassword { get; set; }
The protection repeat password.