I want to add to the title of a mainwindow in my WPF application a button. I would also like to remove re minimize and exit buttons from there. How can I do this?
            Asked
            
        
        
            Active
            
        
            Viewed 2,802 times
        
    2
            
            
        - 
                    AFAIK You'll need a custom chrome to add buttons to the window chrome. Something like [Mahapps Metro](http://mahapps.com/MahApps.Metro/#customisation) – Viv Jun 15 '13 at 18:30
- 
                    are you sure it can't be done? I almost sure three is a way to add this button or even add a label or some shapes... – Tal Malaki Jun 15 '13 at 18:48
- 
                    1Well the default window chrome comes from the native windows API. Your options are either deal with them directly to inject what you need or just use a Chrome helper tool to create a custom chrome and accordingly add whatever controls you need there. I did not say it "cannot" be done, Just that no out of the box WPF only way of doing it without some third-party helpers. – Viv Jun 15 '13 at 19:21
1 Answers
0
            
            
        Probably these links will help you:
Remove close button: How to hide close button in WPF window?
Remove min/max buttons How do I remove minimize and maximize from a resizable window in WPF?
To add a button to the window title you can use WPF customizable window control: http://wpfwindow.codeplex.com/
Hope it will help you!
 
     
    