pgLabII/pgLabII/ViewModels/QueryToolViewModel.cs
2025-08-18 19:41:36 +02:00

22 lines
483 B
C#

using System.Reactive;
using ReactiveUI;
using ReactiveUI.SourceGenerators;
namespace pgLabII.ViewModels;
public partial class QueryToolViewModel : ViewModelBase, IViewItem
{
[Reactive] private string _caption = "Cap";
[Reactive] private string _query = "";
public ReactiveCommand<Unit, Unit> EditCommand { get; }
public QueryToolViewModel()
{
EditCommand = ReactiveCommand.Create(() =>
{
Query += " test";
});
}
}