forked from miroiu/nodify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BlackboardKeyEditorViewModel.cs
42 lines (37 loc) · 1.16 KB
/
BlackboardKeyEditorViewModel.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System.Collections.Generic;
namespace Nodify.StateMachine
{
public class BlackboardKeyEditorViewModel : ObservableObject
{
private ICollection<BlackboardKeyViewModel>? _availableKeys;
public ICollection<BlackboardKeyViewModel>? AvailableKeys
{
get => _availableKeys;
set => SetProperty(ref _availableKeys, value);
}
private BlackboardKeyViewModel? _target;
public BlackboardKeyViewModel? Target
{
get => _target;
set => SetProperty(ref _target, value);
}
private bool _canChangeInputType;
public bool CanChangeInputType
{
get => _canChangeInputType;
set => SetProperty(ref _canChangeInputType, value);
}
private bool _canChangeKeyType = true;
public bool CanChangeKeyType
{
get => _canChangeKeyType;
set => SetProperty(ref _canChangeKeyType, value);
}
private bool _isEditing;
public bool IsEditing
{
get => _isEditing;
set => SetProperty(ref _isEditing, value);
}
}
}