Table of Contents

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

Constructors

SendRowViewModel(ICommunication)

Initializes a new instance of the SendRowViewModel class.

public SendRowViewModel(ICommunication communicator)

Parameters

communicator ICommunication

The used ICommunication communicator.

Properties

DataToSend

Gets or sets the data which will be send with SendCommand.

public string DataToSend { get; set; }

Property Value

string

Encoding

Gets the encoding for the DataToSend.

public Encoding Encoding { get; }

Property Value

Encoding

SelectedSendOption

Gets or sets the in Loehnert.Lisrt.Communication.Views.SendRowView selected send option.

public string SelectedSendOption { get; set; }

Property Value

string

SendCommand

Gets or sets the command for sending DataToSend.

public RelayCommand SendCommand { get; protected set; }

Property Value

RelayCommand

SendOptions

Gets or sets a collection with send options.

public ObservableCollection<string> SendOptions { get; protected set; }

Property Value

ObservableCollection<string>