阅读背景:

获取ListBox以使用窗口调整大小,但不调整内容大小

来源:互联网 

There must be an elegant solution to this problem, but I can't find anything online. I have a grid that has one column and row with width/height *, containing a ListBox. I have my Window SizeToContents set to WidthAndHeight to allow the window to resize to the proper size for each set of UI widgets/fonts. When I add items to the ListBox, it resizes, causing the window to grow.There must be an elegant solution to this probl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: