WPF Toolbar Items HorizontalAligment=“Right”

后端 未结 8 1738
说谎
说谎 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 12:48

    This is how I did it:

    I created a style for the toolbar

        
    

    The important part is :

    
                            
                            
                            
                        
    

    And

    
    

    With this, your buttons will be right aligned

提交回复
热议问题