WPF , Getting verticalstretch working as expected!

前端 未结 3 1885
遇见更好的自我
遇见更好的自我 2021-02-15 23:25

I am trying to make the vertical stretch to work as expected i WPF, but for some reason it only takes the space it needs, and not the space available.

First, I am using

3条回答
  •  天命终不由人
    2021-02-15 23:45

    Have you tried setting HorizontalContentAlignment and VerticalContentAlignment to Stretch in the ItemsControl?

提交回复
热议问题