Table of Contents

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
PropertyChangedBase
StartAutomaticActionViewModel
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

StartAutomaticActionViewModel(AutomaticOperatingModeBase)

Initializes a new instance of the StartAutomaticActionViewModel class.

public StartAutomaticActionViewModel(AutomaticOperatingModeBase automaticOperatingMode)

Parameters

automaticOperatingMode AutomaticOperatingModeBase

The automatic operating mode.

Properties

Action

Gets the action.

public ICommand Action { get; }

Property Value

ICommand

Description

Gets the localizable description.

public ITranslation Description { get; }

Property Value

ITranslation

Icon

Gets the icon.

public Uri Icon { get; }

Property Value

Uri

IsActive

Gets a value indicating whether the action is active.

public bool IsActive { get; }

Property Value

bool