I am trying to make a program, one of the important parts of which will be the output of information in the course of its work. In the course of the program, the necessary data for the output is filled ObservableCollection . But how to display its contents?
public ICollection<string> TextBlock { get { return new ReadOnlyObservableCollection<string>(_CleanLog._CleanLog); } } public ReadOnlyObservableCollection<string> TextBlocks => _CleanLog.CleanLog;
ReadOnlyin Model and ViewModel. - MedBED