Class WindowsPCConfigViewModel
The view model for the windows pc config window.
Inheritance
System.Object
WindowsPCConfigViewModel
Namespace: Phoenix.Devices
Assembly: Phoenix.Devices.WindowsPC.dll
Syntax
public class WindowsPCConfigViewModel : BindableBase
Constructors
View SourceWindowsPCConfigViewModel(WindowsPC, Action)
Initializes a new instance of the WindowsPCConfigViewModel class.
Declaration
public WindowsPCConfigViewModel(WindowsPC device, Action closeAction)
Parameters
Type | Name | Description |
---|---|---|
WindowsPC | device | the windows pc device to change configurations for |
System.Action | closeAction | the action that closes the window |
Properties
View SourceApplyCommand
Gets the command for setting the pc to the specified sandbox id.
Declaration
public DelegateCommand ApplyCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
CancelCommand
Gets the command for canceling changes to the sandbox id.
Declaration
public DelegateCommand CancelCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
ConnectionPassword
Declaration
public string ConnectionPassword { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ConnectionPort
Declaration
public int ConnectionPort { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ConnectionSecured
Declaration
public bool ConnectionSecured { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ConnectionUsername
Declaration
public string ConnectionUsername { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DeveloperMode
Gets or sets a value indicating whether or not developer mode is enabled.
Declaration
public bool DeveloperMode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
OkCommand
Gets the command for setting the pc to the specified sandbox and closing the window.
Declaration
public DelegateCommand OkCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
SandboxId
Gets or sets the Sandbox Id textbox value.
Declaration
public string SandboxId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SetDevicePortalAuthCommand
Declaration
public DelegateCommand SetDevicePortalAuthCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |