livia-test/Livia/ViewModels/MosaicImageControlViewModel.cs
2025-03-28 14:31:53 +08:00

15 lines
621 B
C#

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