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
-
PropertyChangedBaseOperatingModesViewModel
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
OperatingModesViewModel(IOperatingModeManager)
Initializes a new instance of the OperatingModesViewModel class.
public OperatingModesViewModel(IOperatingModeManager operatingModeManager)
Parameters
operatingModeManager
IOperatingModeManagerManager for operating modes.
Properties
CurrentMode
Gets the current operating mode.
public IOperatingMode CurrentMode { get; }
Property Value
OperatingModesViewModels
Gets the operating modes (high ranking).
public ObservableCollection<OperatingModeViewModel> OperatingModesViewModels { get; }
Property Value
SpecialOperatingModesViewModels
Gets the special operating modes (low ranking).
public ObservableCollection<OperatingModeViewModel> SpecialOperatingModesViewModels { get; }