mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
48 lines
1.1 KiB
C#
48 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using AIStudio.Wpf.DiagramDesigner;
|
|
using AIStudio.Wpf.DiagramDesigner.Models;
|
|
|
|
namespace AIStudio.Wpf.Block.ViewModels
|
|
{
|
|
public class KeyboardPressBlockItemViewModel : ControlBlockItemViewModel
|
|
{
|
|
public KeyboardPressBlockItemViewModel()
|
|
{
|
|
}
|
|
|
|
public KeyboardPressBlockItemViewModel(IDiagramViewModel root) : base(root)
|
|
{
|
|
}
|
|
|
|
public KeyboardPressBlockItemViewModel(IDiagramViewModel root, SelectableItemBase designer) : base(root, designer)
|
|
{
|
|
}
|
|
|
|
public KeyboardPressBlockItemViewModel(IDiagramViewModel root, SerializableItem serializableItem, string serializableType) : base(root, serializableItem, serializableType)
|
|
{
|
|
}
|
|
|
|
public List<string> KeyItemsSource
|
|
{
|
|
get;set;
|
|
}
|
|
|
|
private string _key;
|
|
public string Key
|
|
{
|
|
get
|
|
{
|
|
return _key;
|
|
}
|
|
set
|
|
{
|
|
SetProperty(ref _key, value);
|
|
}
|
|
}
|
|
}
|
|
}
|