How can a WPF StackPanel fill vertically from bottom to top?

后端 未结 7 1624
灰色年华
灰色年华 2020-12-16 09:21

I need to be able to fill a stackpanel with buttons but the buttons must appear at the bottom of the stackpanel first and populate upwards<

7条回答
  •  再見小時候
    2020-12-16 09:56

    I found that using a UniformGrid with Column=1 gives a neat filling stack, or set Rows=1 give a neat horizonatally filled stack. And adding from the index 0 will work from bottom up.

提交回复
热议问题