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

  • SEARCH
  • Home
  • 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 6926047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:52:04+00:00 2026-05-27T10:52:04+00:00

I have a tabcontrol and I want to put some tabitem headers aligned to

  • 0

I have a tabcontrol and I want to put some tabitem headers aligned to the left, and others aligned to the right. Like in this mock screenshot:

http://img269.imageshack.us/img269/8894/tabcontrol.png

What I’ve tried already:

  • Styles: I can right align the tabitem using this:

align wpf tabcontrol strip

But I haven’t been able to find a way to mix left and right aligned tab items.

  • Using two TabControls: I can have two overlapping TabControls, one with left aligned tabs, the other with Right aligned tabs. The difficulty is getting them to switch. Click or MouseDown don’t fire consistently when the user clicks the tab header (even with Ishitvisible = true). SelectionChanged doesn’t work because if the user has previously selected tab ‘D’ in TabControl 2, then goes to Tab ‘A’ and back to ‘D’ – TabControl 2 doesn’t know the selection has changed.

At this point I am out of ideas.

  • 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-05-27T10:52:05+00:00Added an answer on May 27, 2026 at 10:52 am

    You could try overwriting the Template for the TabPanel, however if that doesn’t work you’ll have to overwrite the TabControl.Template. Default control templates can be found here

    Edit

    Just tested, and TabPanel doesn’t have a template you can override, so your best bet would be to overwrite the TabControl.Template to use your own Panel for hosting TabItems.

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

Sidebar

Related Questions

I have a WPF TabControl, with some TabItems. I want margins on the left
I want a panel to have some sort of dropshadow like the TabControl has,
I want/would like a TabControl with TabItem's I can close (with an x) and
I have a tabcontrol in my window, inside each tabitem I want to have
I have this: <TabControl Margin=0,24,0,0>...</TabControl> I want to bind only the Top part of
I have a TabControl within a TabControl. I want the outer TabControl to show
I have a form with a tabcontrol and 4 tabs. I want to open
I have a WPF TabControl with two TabItems. Each TabItem contains a ListBox with
I have a WPF TabControl that has a couple of buttons in the TabItem
I have following situation <stackpanel > <ViewBox height=25/ > <tabcontrol> <tabitem> <Canvas /> </tabitem>

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.