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.
如何将 WPF 应用程序中的左边距设置为 213 像素?
我努力了:
MyRecatgle.Margin.left = 213
利用
MyRecatgle.Margin = New Thickness(213, 0, 0, 0)
厚度的构造函数参数是:
Thickness(left, top, right, bottom)