Class ChangeUserPasswordViewModel
View model for password change dialog window
Inheritance
System.Object
ChangeUserPasswordViewModel
Namespace: Simplic.User.UI
Assembly: Simplic.User.UI.dll
Syntax
public class ChangeUserPasswordViewModel : UI.MVC.ViewModelBase, IUserDialogViewModel, IDialogViewModel
Constructors
| Improve this Doc View SourceChangeUserPasswordViewModel(UserViewModel)
Constructor for the view model
Declaration
public ChangeUserPasswordViewModel(UserViewModel user)
Parameters
Type | Name | Description |
---|---|---|
UserViewModel | user | The current user for whom the password is changed |
Properties
| Improve this Doc View SourceIsModal
Dialog window modality flag. Inherited from IUserDialogViewModel
Declaration
public bool IsModal { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
SaveCommand
Save state command. Inherited from Simplic.User.UI.ISaveableViewModel
Declaration
public ICommand SaveCommand { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
Methods
| Improve this Doc View SourceGetPassword()
Returns current password
Declaration
public string GetPassword()
Returns
Type | Description |
---|---|
System.String |
RequestClose()
Dialog window close request method. Inherited from IUserDialogViewModel
Declaration
public void RequestClose()
Events
| Improve this Doc View SourceDialogClosing
Notifies when a window is closed. Inherited from IUserDialogViewModel
Declaration
public event EventHandler DialogClosing
Event Type
Type | Description |
---|---|
System.EventHandler |