Class SendRowViewModel
- Namespace
- Loehnert.Lisrt.Communication.ViewModels
- Assembly
- Loehnert.Lisrt.Communication.dll
Class for a ICommunication sending row view model.
public class SendRowViewModel : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged
- Inheritance
-
PropertyChangedBaseSendRowViewModel
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
SendRowViewModel(ICommunication)
Initializes a new instance of the SendRowViewModel class.
public SendRowViewModel(ICommunication communicator)
Parameters
communicatorICommunicationThe used ICommunication communicator.
Properties
DataToSend
Gets or sets the data which will be send with SendCommand.
public string DataToSend { get; set; }
Property Value
Encoding
Gets the encoding for the DataToSend.
public Encoding Encoding { get; }
Property Value
SelectedSendOption
Gets or sets the in Loehnert.Lisrt.Communication.Views.SendRowView selected send option.
public string SelectedSendOption { get; set; }
Property Value
SendCommand
Gets or sets the command for sending DataToSend.
public RelayCommand SendCommand { get; protected set; }
Property Value
SendOptions
Gets or sets a collection with send options.
public ObservableCollection<string> SendOptions { get; protected set; }