mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-20 00:16:36 +08:00
Revert "Revert "block 可以拖拽到内部,还有少量问题待解决""
This reverts commit fcd7beb193.
This commit is contained in:
@@ -36,6 +36,10 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public Size? DesiredMinSize
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
public string Description
|
||||
{
|
||||
get; set;
|
||||
@@ -46,7 +50,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
get; set;
|
||||
}
|
||||
|
||||
public ToolBoxData(string text, string icon, Type type, double width, double height, Size? desiredSize = null, string description = null)
|
||||
public ToolBoxData(string text, string icon, Type type, double width, double height, Size? desiredSize = null, Size? desiredMinSize = null, string description = null)
|
||||
{
|
||||
this.Text = text;
|
||||
this.Icon = icon;
|
||||
@@ -54,6 +58,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
this.Width = width;
|
||||
this.Height = height;
|
||||
this.DesiredSize = desiredSize;
|
||||
this.DesiredMinSize = desiredMinSize;
|
||||
this.ColorViewModel = new ColorViewModel();
|
||||
this.Description = description;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user