Show / Hide Table of Contents

Class ControllerSelectorViewModel

View model for controller selection

Inheritance
System.Object
ControllerSelectorViewModel
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.Input
Assembly: Phoenix.Plugin.Input.dll
Syntax
public class ControllerSelectorViewModel : INotifyPropertyChanged, IDisposable

Constructors

View Source

ControllerSelectorViewModel(InputViewModel, IPhoenixLogger)

Initializes a new instance of the ControllerSelectorViewModel class

Declaration
public ControllerSelectorViewModel(InputViewModel parent, IPhoenixLogger logger)
Parameters
Type Name Description
InputViewModel parent

Parent view model

IPhoenixLogger logger

Logger to use

Properties

View Source

ConnectController

Gets or sets command to connect a new virtual controller

Declaration
public DelegateCommand ConnectController { get; set; }
Property Value
Type Description
DelegateCommand
View Source

Controllers

Gets the collection of connected virtual controllers

Declaration
public ObservableCollection<ControllerViewModel> Controllers { get; }
Property Value
Type Description
System.Collections.ObjectModel.ObservableCollection<ControllerViewModel>
View Source

Deselect

Gets or sets command to deselect all controllers

Declaration
public DelegateCommand Deselect { get; set; }
Property Value
Type Description
DelegateCommand
View Source

DisconnectAllVirtualControllers

Gets or sets command to disconnect all virtual controllers

Declaration
public DelegateCommand DisconnectAllVirtualControllers { get; set; }
Property Value
Type Description
DelegateCommand
View Source

DisconnectController

Gets or sets command to disconnect a virtual controller

Declaration
public DelegateCommand DisconnectController { get; set; }
Property Value
Type Description
DelegateCommand
View Source

InvertSelection

Gets or sets command to invert controller selection

Declaration
public DelegateCommand InvertSelection { get; set; }
Property Value
Type Description
DelegateCommand
View Source

IsCollapsed

Gets or sets a value indicating whether the panel is collapsed

Declaration
public bool IsCollapsed { get; set; }
Property Value
Type Description
System.Boolean
View Source

IsExpanded

Gets a value indicating whether the panel is expanded

Declaration
public bool IsExpanded { get; }
Property Value
Type Description
System.Boolean
View Source

Parent

Gets the view model parent

Declaration
public InputViewModel Parent { get; }
Property Value
Type Description
InputViewModel
View Source

SelectAll

Gets or sets command to select all controllers

Declaration
public DelegateCommand SelectAll { get; set; }
Property Value
Type Description
DelegateCommand
View Source

ShowHorizontalHeader

Gets a value indicating whether the panel is collapsed horizontally

Declaration
public bool ShowHorizontalHeader { get; }
Property Value
Type Description
System.Boolean
View Source

ShowVerticalHeader

Gets a value indicating whether the panel is collapsed vertically

Declaration
public bool ShowVerticalHeader { get; }
Property Value
Type Description
System.Boolean
View Source

ViewDispatcher

Gets or sets the view dispatcher

Declaration
public Dispatcher ViewDispatcher { get; set; }
Property Value
Type Description
System.Windows.Threading.Dispatcher

Methods

View Source

Dispose()

Performs finalization

Declaration
public void Dispose()
View Source

Dispose(Boolean)

Performs finalization

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

Whether disposing managed resources

View Source

Finalize()

Finalizes an instance of the ControllerSelectorViewModel class.

Declaration
protected void Finalize()

Events

View Source

PropertyChanged

Property changed event required for INotifyPropertyChanged support

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable
  • View Source
In This Article
Back to top Generated by DocFX