Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9016887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:07:22+00:00 2026-06-16T04:07:22+00:00

If you look at the Chrome browser when maximized, it has its tab headers

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T04:07:23+00:00Added an answer on June 16, 2026 at 4:07 am

    Absolutely, but you’re going to have to remake those buttons yourself (it’s not hard, don’t worry).

    In your MainWindow.xaml:

    <Window ...
            Title="" Height="Auto" Width="Auto" Icon="../Resources/MyIcon.ico" 
            ResizeMode="NoResize" WindowStartupLocation="CenterScreen" 
            WindowStyle="None" AllowsTransparency="True" Background="Transparent"
            ...>
        <Canvas>
           <Button /> <!-- Close -->
           <Button /> <!-- Minimize -->
           <Button /> <!-- Maximize -->
           <TabControl>
               ...
           </TabControl>
        </Canvas>
    </Window>
    

    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.MinimizeWindowCommand

    So if you’re using .NET 4.5, you can do:

    <Window ...
            Title="" Height="Auto" Width="Auto" Icon="../Resources/MyIcon.ico" 
            ResizeMode="NoResize" WindowStartupLocation="CenterScreen" 
            WindowStyle="None" AllowsTransparency="True" Background="Transparent"
            ...>
        <Window.CommandBindings>
            <CommandBinding Command="{x:Static SystemCommands.CloseWindowCommand}" CanExecute="CommandBinding_CanExecute_1" Executed="CommandBinding_Executed_1" />
            <CommandBinding Command="{x:Static SystemCommands.MaximizeWindowCommand}" CanExecute="CommandBinding_CanExecute_1" Executed="CommandBinding_Executed_2" />
            <CommandBinding Command="{x:Static SystemCommands.MinimizeWindowCommand}" CanExecute="CommandBinding_CanExecute_1" Executed="CommandBinding_Executed_3" />
        </Window.CommandBindings>
        <Canvas>
           <Button Command="{x:Static SystemCommands.CloseWindowCommand}" Content="Close" />
           <Button Command="{x:Static SystemCommands.MaximizeWindowCommand}" Content="Maximize" />
           <Button Command="{x:Static SystemCommands.MinimizeWindowCommand}" Content="Minimize" />
           <TabControl>
               ...
           </TabControl>
        </Canvas>
    </Window>
    

    And in your C# code-behind:

        private void CommandBinding_CanExecute_1(object sender, CanExecuteRoutedEventArgs e)
        {
            e.CanExecute = true;
        }
    
        private void CommandBinding_Executed_1(object sender, ExecutedRoutedEventArgs e)
        {
            SystemCommands.CloseWindow(this);
        }
    
        private void CommandBinding_Executed_2(object sender, ExecutedRoutedEventArgs e)
        {
            SystemCommands.MaximizeWindow(this);
        }
    
        private void CommandBinding_Executed_3(object sender, ExecutedRoutedEventArgs e)
        {
            SystemCommands.MinimizeWindow(this);
        }
    

    This will make close/maximize/minimize works exactly like with a regular window.
    Of course, you may want to use System.Windows.Interactivity to move the C# into a ViewModel.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please take a look at this example in Chrome browser: http://jsfiddle.net/ymzTB/ <form> <input required
Take a look at this with IE or Chrome and notice the yellow block:
Text on my page look blurry on Safari, Opera and Chrome: http://testowa.portalo.pl/wiadomosci.php I'm using
I am writing a Firefox extension. I have setup an overlay for chrome://browser/content/browser.xul and
Is it possible to embed an external application inside the browser (IE, Chrome, Safari,
If in a webkit browser like Chrome i do: $$('span'); I get a result
I'm having a small problem with x-browser compatibility (Chrome and FF) for a textarea
I made my webpage using Chrome and forgot to look at how my webpage
In chrome browser, when using this snippet: $(document).on('keyup', function(){ alert(Hey); }); Every time I
I have a content script for a google chrome browser extension that I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.