Files
aistudio-wpf-diagram/AIStudio.Wpf.DiagramDesigner/Helpers/ToolBoxData.cs

30 lines
852 B
C#
Raw Normal View History

2021-07-23 09:42:22 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
2022-10-28 22:45:39 +08:00
namespace AIStudio.Wpf.DiagramDesigner.Helpers
2021-07-23 09:42:22 +08:00
{
public class ToolBoxData
{
public string Text { get; protected set; }
public string Icon { get; protected set; }
public Type Type { get; protected set; }
public IColorViewModel ColorViewModel { get; set; }
public double Width { get; set; }
public double Height { get; set; }
public object Addition { get; set; }
public ToolBoxData(string text, string icon, Type type, double width, double height)
{
this.Text = text;
this.Icon = icon;
this.Type = type;
this.Width = width;
this.Height = height;
this.ColorViewModel = new ColorViewModel();
}
}
}