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

后端 未结 7 1641
灰色年华
灰色年华 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:51

    Or you can rotate the StackPanel 180 degrees to get the buttons to stack from the bottom to the top and then rotating the buttons another 180 degrees to get them right-side-up again:

    
        
        
            
        
    
        
        
           
        
    
        
        
        
    
    
    

提交回复
热议问题