且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在WPF中自动调整按钮和其他控件的大小

更新时间:2023-10-19 16:58:40

您可以通过以下方式将控件的各边锚定到其父容器:a)设置边距,b)设置水平和垂直对齐方式.

您可以通过购买书籍和/或滥用Google来了解有关WPF/Silverlight的基础知识.
You can anchor sides of controls to their parent containers by a) setting margins, and b) setting the horizontal and vertical alignment.

You can learn the basics about WPF/Silverlight by purchasing a book, and/or abusing google.