using Intromat.Views.Previews; using ReactiveUI; using Splat; namespace Intromat.ViewModels.Previews { public class StringPreviewViewModel : NodePreviewViewModelBase { private string _value = string.Empty; static StringPreviewViewModel() { Locator.CurrentMutable.Register(() => new StringPreview(), typeof(IViewFor)); } public string Value { get => _value; set => this.RaiseAndSetIfChanged(ref _value, value); } } }