Class XboxConfigViewModel
The xbox specific configuration view model.
Inheritance
System.Object
XboxConfigViewModel
Implements
System.IDisposable
Assembly: Phoenix.Devices.Xbox.dll
Syntax
public class XboxConfigViewModel : BindableBase, IDisposable
Constructors
View Source
XboxConfigViewModel(IEnumerable<Xbox>, Window)
Declaration
public XboxConfigViewModel(IEnumerable<Xbox> xboxDevices, Window window)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<Xbox> |
xboxDevices |
The xbox we are configuring.
|
System.Windows.Window |
window |
The window we are hosted in.
|
Properties
View Source
AccessKey
Gets or sets the access key.
Declaration
public string AccessKey { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
ConfigurationAccept
Gets the configuration accept command.
Declaration
public DelegateCommand ConfigurationAccept { get; }
Property Value
Type |
Description |
DelegateCommand |
|
View Source
ConfigurationReject
Gets the configuration reject command.
Declaration
public DelegateCommand ConfigurationReject { get; }
Property Value
Type |
Description |
DelegateCommand |
|
View Source
ConnectionPassword
Declaration
public string ConnectionPassword { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
ConnectionUsername
Declaration
public string ConnectionUsername { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
DeviceConnectionError
Gets a value indicating whether or not a connection error occured with the device.
Declaration
public bool DeviceConnectionError { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
DeviceConsoleId
Gets the ConsoleId of the kit.
Declaration
public string DeviceConsoleId { get; }
Property Value
Type |
Description |
System.String |
|
View Source
DeviceXboxLiveId
Gets the DeviceId of the kit.
Declaration
public string DeviceXboxLiveId { get; }
Property Value
Type |
Description |
System.String |
|
View Source
HasSettings
Gets a value indicating whether or not the view model was able to get settings from the device.
Declaration
public bool HasSettings { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
IsLoading
Gets a value indicating whether or not the view model is loading the settings and not available to change the settings.
Declaration
public bool IsLoading { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
LastBuildError
Gets the string description of the last error encountered attempting to build a configuration
Declaration
public string LastBuildError { get; }
Property Value
Type |
Description |
System.String |
|
View Source
NonMatchingAccessKeys
Gets a value indicating whether or not the access keys for all the selected devices match.
Declaration
public bool NonMatchingAccessKeys { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
NonMatchingDevicePortalAuth
Declaration
public bool NonMatchingDevicePortalAuth { get; }
Property Value
Type |
Description |
System.Boolean |
|
View Source
SetAccessKeyCommand
Gets the command for setting the access key.
Declaration
public DelegateCommand SetAccessKeyCommand { get; }
Property Value
Type |
Description |
DelegateCommand |
|
View Source
SetDevicePortalAuthCommand
Declaration
public DelegateCommand SetDevicePortalAuthCommand { get; }
Property Value
Type |
Description |
DelegateCommand |
|
View Source
Settings
Gets the list of settings.
Declaration
public ICollectionView Settings { get; }
Property Value
Type |
Description |
System.ComponentModel.ICollectionView |
|
Methods
View Source
Dispose()
Declaration
View Source
ResizeWindowToContent()
Declaration
public void ResizeWindowToContent()
Implements
System.IDisposable