Class DigitalInputTreeItemViewModel
- Namespace
 - Loehnert.Lisrt.IO.Controls.ViewModels
 
- Assembly
 - Loehnert.Lisrt.IO.dll
 
Represents a view model for a IDigitalInput ITreeItem.
public class DigitalInputTreeItemViewModel : ItemViewModel, INotifyPropertyChangedEx, ITreeItem, INotifyPropertyChanged
  - Inheritance
 - 
      
      PropertyChangedBaseDigitalInputTreeItemViewModel
 
- Implements
 - 
      INotifyPropertyChangedEx
 
- Inherited Members
 - 
    
    
    
    
    
    
    
    
    PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
 
Constructors
DigitalInputTreeItemViewModel(IDigitalInput)
Initializes a new instance of the DigitalInputTreeItemViewModel class.
public DigitalInputTreeItemViewModel(IDigitalInput digitalInput)
  Parameters
digitalInputIDigitalInputThe IDigitalInput as ILisrtModule.
Properties
Color
Gets or sets the indicator color. Default is Green.
public Color Color { get; set; }
  Property Value
Value
Gets a value indicating whether the output is on.
public bool Value { get; }