using System.Collections.ObjectModel; using KfChatDotNetGui.Models; using ReactiveUI; namespace KfChatDotNetGui.ViewModels; public class RoomSettingsWindowViewModel : ViewModelBase { private ObservableCollection _roomList = new() { new RoomSettingsModel.RoomList {Id = 1, Name = "General"} }; public ObservableCollection RoomList { get => _roomList; set => this.RaiseAndSetIfChanged(ref _roomList, value); } }