WPF中通过代码设置控件的坐标

Canvas.SetTop(myCanvas1, 0);
Canvas.SetLeft(myCanvas1, 0);
原文地址:https://www.cnblogs.com/fan-yuan/p/10192749.html