I am trying to change the size of the UI Elements within a UWP Window on the change of the size of the window itself, such as clicking the edge of the window and dragging right. However, on increase of size, there seems to be Bounds set on the creation of the Window for the maximum size of the content, is there anyway to bypass this Bounds?
答案 0 :(得分:0)
尝试将UI元素的HorizontalAlignment和/或VerticalAlignment设置为" Stretch"。或者,如果您也想缩放它,您可以将整个事物放在ViewBox中。实现你想要的东西确实有很多选择。