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

后端 未结 7 1644
灰色年华
灰色年华 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 10:00

    Like so:

    
        ...
    
    

    and to populate with buttons upward you must insert the buttons at position 0, instead of adding them.

提交回复
热议问题