Files
aistudio-wpf-diagram/AIStudio.Wpf.DiagramDesigner/Models/DragObject.cs

53 lines
974 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;
using System.Windows;
2022-10-28 22:45:39 +08:00
namespace AIStudio.Wpf.DiagramDesigner
2021-07-23 09:42:22 +08:00
{
// Wraps info of the dragged object into a class
public class DragObject
{
public Size? DesiredSize
{
get; set;
}
public Size? DesiredMinSize
{
get; set;
}
2025-02-03 15:22:00 +08:00
public List<FullyCreatedConnectorInfo> ConnectorInfo
{
get; set;
}
public Type ContentType
{
get; set;
}
public string Icon
{
get; set;
}
public string Text
{
get; set;
}
public IColorViewModel ColorViewModel
{
get; set;
}
2025-02-03 15:22:00 +08:00
public IFontViewModel FontViewModel
{
get; set;
}
public object DesignerItem
{
get; set;
}
2025-02-03 15:22:00 +08:00
2021-07-23 09:42:22 +08:00
}
}