22 lines
549 B
C#
22 lines
549 B
C#
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<StringPreviewViewModel>));
|
|
}
|
|
|
|
public string Value
|
|
{
|
|
get => _value;
|
|
set => this.RaiseAndSetIfChanged(ref _value, value);
|
|
}
|
|
}
|
|
} |