Class AddNewGroupViewModel
The view model for the Add New Group window
Inheritance
System.Object
AddNewGroupViewModel
Namespace: Phoenix.DeviceManagement
Assembly: Phoenix.dll
Syntax
public class AddNewGroupViewModel : BindableBase
Constructors
View SourceAddNewGroupViewModel(DeviceManagementViewModel)
Initializes a new instance of the AddNewGroupViewModel class.
Declaration
public AddNewGroupViewModel(DeviceManagementViewModel parentView)
Parameters
Type | Name | Description |
---|---|---|
DeviceManagementViewModel | parentView | the parent view that created the window. |
Properties
View SourceCancelCommand
Gets the command for canceling the adding of a new group.
Declaration
public DelegateCommand CancelCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
CloseAction
Gets or sets an action that closes the window.
Declaration
public Action CloseAction { get; set; }
Property Value
Type | Description |
---|---|
System.Action |
ConfirmAddCommand
Gets the command for confirming addition of a new group.
Declaration
public DelegateCommand<string> ConfirmAddCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand<System.String> |