TabControl with overflow buttons

A WPF style for tabs with overflow.

The WPF TabControl will place tabs in rows. Here’s some code that mimics the more standard IDE behavior with overflow buttons.

Tab overflow

Correction added in May 2008; after many complain I took the time to correct the XAML code and noticed that even a year later it’s rather difficult to display XAML code correctly in WordPress. So, instead of trying to show anything at all you will have to download the code.

You can click to see it online or right-click ’save’ for the code: TabOverflow.xaml

Tagged with:
 

5 Responses to “TabControl with overflow buttons”

  1. Sandeep says:

    Hi,
    I have tried running this code, but I know it has been distorted so that it cannot be run without any effort from the part of the reader :)
    This is a good thing that you did coz it makes the reader think rather than simply get away with copy paste :)
    I have tried to rearrange xaml, move the tags to their relevant position, change the casing wherever required. However am still stuck.
    Could you please share with me your code which runs. I need to deliver this type of functionality ASAP.
    Thanks,
    Sandeep

  2. Simon says:

    Hi,
    I agree that this is your website, that is your code, and all that. But, Why do you share your ideas, if you make so difficult to use them? Instead of pasting here all your offuscated code, show some small, good snippets…

  3. Me says:

    It’s been (unintentionally) scrambled through the blog editor. But you have indeed a very interesting way to ask me to fix the code. For some reason I am not very motivated to do so.

  4. justin says:

    Simon,

    So rude. He makes an attempt to help others out there, and you come and make a rude comment like that. Sheesh

    Thanks for posting the code.

  5. Me says:

    There you go, I corrected the code. Hope you can forgive WordPress ;)

Leave a Reply