mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-03 07:36:35 +08:00
Revert "Revert "block 可以拖拽到内部,还有少量问题待解决""
This reverts commit fcd7beb193.
This commit is contained in:
@@ -9,10 +9,33 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
// Wraps info of the dragged object into a class
|
||||
public class DragObject
|
||||
{
|
||||
public Size? DesiredSize { get; set; }
|
||||
public Type ContentType { get; set; }
|
||||
public string Icon { get; set; }
|
||||
public IColorViewModel ColorViewModel { get; set; }
|
||||
public object DesignerItem { get; set; }
|
||||
public Size? DesiredSize
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public Size? DesiredMinSize
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public Type ContentType
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public string Icon
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public string Text
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public IColorViewModel ColorViewModel
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public object DesignerItem
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user