WPF , Getting verticalstretch working as expected!

前端 未结 3 2348
醉话见心
醉话见心 2021-02-15 23:04

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:52

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

提交回复
热议问题