wabbajack/Wabbajack.App/Controls/RemovableListItemViewModel.cs

18 lines
417 B
C#
Raw Normal View History

2021-10-13 21:51:00 +00:00
using System.Reactive;
using ReactiveUI;
using ReactiveUI.Fody.Helpers;
using Wabbajack.App.ViewModels;
namespace Wabbajack.App.Controls;
public class RemovableItemViewModel : ViewModelBase
{
public RemovableItemViewModel()
{
Activator = new ViewModelActivator();
}
2021-10-23 16:51:17 +00:00
[Reactive] public string Text { get; set; }
[Reactive] public ReactiveCommand<Unit, Unit> DeleteCommand { get; set; }
2021-10-13 21:51:00 +00:00
}