Hi,
I just upgraded to the latest SDK to take advantage of the fix for resizing adjacent swimlanes, but I noticed a peculiar problem:
The swimlane has now become a connectable target. It was working in an early release of the SDK. Any ideas why this is happening?
This is what I am adding to my palette:
private Lane CreateSwimLane(string name, string orientation, int width, int height)
{
var swimLane = new Lane
{
AddInfo = new Dictionary<string, object> { ["type"] = name },
Name = name.Replace(" ", ""),
Header =
{
Text = "",
Width = 60,
Height = 60,
FillColor = "#C7D4DF",
FontSize = 11
},
Width = width,
Height = height,
Orientation = orientation,
FillColor = "#f5f5f5",
OffsetX = width / 2,
OffsetY = height / 2
};
swimLane.Constraints |= NodeConstraints.Resize;
return swimLane;
}
Thanks
Ajay
Attachment:
Capture_5c4e5eb9.zip