mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
22 lines
554 B
C#
22 lines
554 B
C#
using System;
|
|
using System.Windows.Media;
|
|
using AIStudio.Wpf.DiagramDesigner;
|
|
|
|
namespace AIStudio.Wpf.SFC.Models
|
|
{
|
|
public class SFCToolBoxData : ToolBoxData
|
|
{
|
|
public SFCNodeKinds Kind
|
|
{
|
|
get; set;
|
|
}
|
|
public SFCToolBoxData(SFCNodeKinds kind, Type type, double width = 32, double height = 32) : base(null, null, type, width, height)
|
|
{
|
|
Kind = kind;
|
|
ColorViewModel.LineColor.Color = Colors.Gray;
|
|
ColorViewModel.FillColor.Color = Colors.Blue;
|
|
|
|
}
|
|
}
|
|
}
|