Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
<Canvas x:Name="c1" Canvas.Left="10" Canvas.Top="10"> </Canvas>
我如何Canvas.Left="10"从后面的代码中更改值?
Canvas.Left="10"
使用类似下面的东西:
Canvas.SetLeft(c1, 25);