标签: .net wpf
<Ellipse Canvas.Left="37" Canvas.Top="260">
我想在相对于Canvas的代码后面定义椭圆的位置。
答案 0 :(得分:4)
像这样:
Canvas.SetLeft(someControl, 42);