C#WPF如何在左侧而不是右侧增加宽度? [英] C# WPF How do i add width to the left not the right?
本文介绍了C#WPF如何在左侧而不是右侧增加宽度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
标题几乎说明了这一点,每当我添加到对象并从右向右扩展对象时,我希望它从左开始,有人可以帮助吗?
the title pretty much says it, every time i add with to and object it gets wider from the right, i want it to happen from the left, can anyone plz help?
推荐答案
control.Margin = new Thickness(10, 0, 0, 0);
这篇关于C#WPF如何在左侧而不是右侧增加宽度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文