using System.Collections.ObjectModel; using System.Windows.Media.Imaging; using CommunityToolkit.Mvvm.ComponentModel; namespace Livia.ViewModels; public class MosaicImageControlViewModel : ObservableObject { public ObservableCollection RoiCollection { get => _roiCollection; set => SetProperty(ref _roiCollection, value); } public BitmapImage? CurrentMosaicImage { get => _currentMosaicImage; set => SetProperty(ref _currentMosaicImage, value); } private BitmapImage? _currentMosaicImage; private ObservableCollection _roiCollection = []; }