using System.Windows.Media; namespace MaintainModule.Pops.ManualSet; internal partial class MSPressCommandViewModel : ObservableObject, IPopAware { public ImageSource? ImageSource { get; set; } public string? Title { get; set; } = "Press Command"; public Action? RequestClose { get; set; } public bool CanClose() { return true; } public void OnClose() { } public void OnPop(object? state) { } [RelayCommand] private void Close() { this.RequestClose?.Invoke(); } [RelayCommand] private void Operation() { } }