mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
22 lines
764 B
C#
22 lines
764 B
C#
using Remotely.Desktop.Shared.Reactive;
|
|
using System.Windows.Input;
|
|
using Remotely.Desktop.UI.Controls.Dialogs;
|
|
|
|
namespace Remotely.Desktop.UI.ViewModels.Fakes;
|
|
|
|
public class FakeMessageBoxViewModel : FakeBrandedViewModelBase, IMessageBoxViewModel
|
|
{
|
|
public bool AreYesNoButtonsVisible { get; set; } = true;
|
|
public string Caption { get; set; } = "Test Caption";
|
|
public bool IsOkButtonVisible { get; set; } = false;
|
|
public string Message { get; set; } = "This is a test message.";
|
|
|
|
public ICommand NoCommand => new RelayCommand(() => { });
|
|
|
|
public ICommand OKCommand => new RelayCommand(() => { });
|
|
|
|
public MessageBoxResult Result { get; set; } = MessageBoxResult.Yes;
|
|
|
|
public ICommand YesCommand => new RelayCommand(() => { });
|
|
}
|