If you look at the Chrome browser when maximized, it has its tab headers right at the top of the window. Can I do something similar?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Absolutely, but you’re going to have to remake those buttons yourself (it’s not hard, don’t worry).
In your MainWindow.xaml:
Then you just have to place the Buttons and the TabControl as wished on the Canvas, and customize the look and feel.
EDIT: The built in commands for closing/maximizing/minimizing in .NET 4.5 are
SystemCommands.CloseWindowCommand/SystemCommands.MaximizeWindowCommand/SystemCommands.MinimizeWindowCommandSo if you’re using .NET 4.5, you can do:
And in your C# code-behind:
This will make close/maximize/minimize works exactly like with a regular window.
Of course, you may want to use
System.Windows.Interactivityto move the C# into a ViewModel.