mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-05-02 22:11:28 +08:00
连接线修改,为支持改变连接点做准备
This commit is contained in:
@@ -25,11 +25,11 @@ namespace Util.DiagramDesigner
|
||||
|
||||
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
|
||||
{
|
||||
List<Point> points = (List<Point>)value;
|
||||
List<PointInfoBase> points = (List<PointInfoBase>)value;
|
||||
PointCollection pointCollection = new PointCollection();
|
||||
if (points != null)
|
||||
{
|
||||
foreach (Point point in points)
|
||||
foreach (var point in points)
|
||||
{
|
||||
pointCollection.Add(point);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user