Class StartAutomaticActionViewModel
- Namespace
- Loehnert.Lisrt.OperatingMode.ViewModels
- Assembly
- Loehnert.Lisrt.dll
View model for an automatic mode starting action.
public class StartAutomaticActionViewModel : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged, IActionViewModel
- Inheritance
-
PropertyChangedBaseStartAutomaticActionViewModel
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
StartAutomaticActionViewModel(AutomaticOperatingModeBase)
Initializes a new instance of the StartAutomaticActionViewModel class.
public StartAutomaticActionViewModel(AutomaticOperatingModeBase automaticOperatingMode)
Parameters
automaticOperatingMode
AutomaticOperatingModeBaseThe automatic operating mode.
Properties
Action
Gets the action.
public ICommand Action { get; }
Property Value
Description
Gets the localizable description.
public ITranslation Description { get; }
Property Value
- ITranslation
Icon
Gets the icon.
public Uri Icon { get; }
Property Value
IsActive
Gets a value indicating whether the action is active.
public bool IsActive { get; }