Class ByteViewModel
- Namespace
- Loehnert.Lisrt.Communication.Can.ViewModels
- Assembly
- Loehnert.Lisrt.Communication.Can.dll
View model for bytes of a byte array.
public class ByteViewModel : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged
- Inheritance
-
PropertyChangedBaseByteViewModel
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
ByteViewModel(uint)
Initializes a new instance of the ByteViewModel class.
public ByteViewModel(uint index)
Parameters
index
uintByte index in the array.
Properties
Index
Gets the byte index in the array.
public uint Index { get; }
Property Value
IsEnabled
Gets or sets a value indicating whether the byte is enabled.
public bool IsEnabled { get; set; }
Property Value
Value
Gets or sets the value.
public byte Value { get; set; }