mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-04-30 03:22:04 -04:00
20 lines
521 B
C#
20 lines
521 B
C#
using System.Collections.ObjectModel;
|
|
using KfChatDotNetGui.Models;
|
|
using ReactiveUI;
|
|
|
|
namespace KfChatDotNetGui.ViewModels;
|
|
|
|
public class RoomSettingsWindowViewModel : ViewModelBase
|
|
{
|
|
|
|
private ObservableCollection<RoomSettingsModel.RoomList> _roomList = new()
|
|
{
|
|
new RoomSettingsModel.RoomList {Id = 1, Name = "General"}
|
|
};
|
|
|
|
public ObservableCollection<RoomSettingsModel.RoomList> RoomList
|
|
{
|
|
get => _roomList;
|
|
set => this.RaiseAndSetIfChanged(ref _roomList, value);
|
|
}
|
|
} |