WPF Toolbar Items HorizontalAligment=“Right”

后端 未结 8 1744
说谎
说谎 2020-12-10 12:41

Is it possible to make the elements within a WPF toolbar have a HorizontalAlignment of Right?



        
8条回答
  •  情歌与酒
    2020-12-10 13:00

    I realize this is an old topic, but it still pops up when asking the question. This is how I handle this question:

    
        
            
            
            
            
        
        
            
            
            
        
        
            
        
    
    

    Effectively: I create two toolbar objects and have them on the same Grid.row. The first one has default (left) alignment, the second one is right aligned. It seems to do the trick for me.

提交回复
热议问题