我正在使用 Microsoft Visual Studio 2010,包括参考动态数据显示。我在 c# 代码中创建 DraggablePoint。点创建完美,我的问题是如何使点在地图上不可移动?我试图搜索属性 unMoveable 或 Moveable false 但没有这样的东西。我的代码:
// Creating the new DraggablePoint
globalPoint = new DraggablePoint(new Point(x1,y1));
// Set the point position
globalPoint.Position = new Point(x1,y1);
// Set the point on the map
plotter.Children.Add(globalPoint);
感谢帮助。