Table of Contents

Class OperatingModesViewModel

Namespace
Loehnert.Lisrt.OperatingMode.ViewModels
Assembly
Loehnert.Lisrt.dll

View model for operating modes from a IOperatingModeManager.

public class OperatingModesViewModel : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged
Inheritance
PropertyChangedBase
OperatingModesViewModel
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

OperatingModesViewModel(IOperatingModeManager)

Initializes a new instance of the OperatingModesViewModel class.

public OperatingModesViewModel(IOperatingModeManager operatingModeManager)

Parameters

operatingModeManager IOperatingModeManager

Manager for operating modes.

Properties

CurrentMode

Gets the current operating mode.

public IOperatingMode CurrentMode { get; }

Property Value

IOperatingMode

OperatingModesViewModels

Gets the operating modes (high ranking).

public ObservableCollection<OperatingModeViewModel> OperatingModesViewModels { get; }

Property Value

ObservableCollection<OperatingModeViewModel>

SpecialOperatingModesViewModels

Gets the special operating modes (low ranking).

public ObservableCollection<OperatingModeViewModel> SpecialOperatingModesViewModels { get; }

Property Value

ObservableCollection<OperatingModeViewModel>