Aligning controls on both left and right side in a stack panel in WPF

后端 未结 4 1627
梦谈多话
梦谈多话 2020-12-29 19:24

I have the following code:


    
        

        
4条回答
  •  时光取名叫无心
    2020-12-29 19:47

    Even though this is old, should someone come across this like I did, here's a simple solution.

    Make a new grid and inside that grid put two stack panels with different Horizontal Alignment.

    
        
            
        
        
            
        
    
    

    The possible issue is that now without extra handling the two could overlap with each other.

提交回复
热议问题