Click here to Skip to main content
13,250,029 members (66,136 online)
Click here to Skip to main content
Add your own
alternative version


6 bookmarked
Posted 12 Aug 2010

OutlookBar for WPF & Silverlight

, 12 Aug 2010
Rate this:
Please Sign up or sign in to vote.
OutlookBar for WPF & Silverlight

A while ago, I wrote a CodeProject article on how to re-style a TabControl to look like the Outlook navigation bar/pane… The article had a good response and loads of people were asking for a Silverlight version. I decided to take the stripped down version of that control (without all the theme stuff) and create a custom control that does this out of the box! I then spent some time to make sure that it works in WPF & Silverlight.

To use it is extremely easy, just create a new OutlookBar.


And manually add new OutlookBarItems:

    <ob:OutlookBarItem Title="Blue (Title)" Header="Blue">
        <Border Background="Blue">
            <TextBlock Text="Blue" />
    <ob:OutlookBarItem Title="Yellow (Title)" Header="Yellow">
        <Border Background="Yellow">
            <TextBlock Text="Yellow" />
    <ob:OutlookBarItem Title="Lime (Title)" Header="Lime">
        <Border Background="Lime">
            <TextBlock Text="Lime" />

This control can also be data-bound (because it derives from ItemsControl) and is 100% MVVM-able.

P.S. I will also be releasing some default themes for it pretty soon!!!


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

South Africa South Africa
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralMy vote of 2 Pin
jgauffin17-Aug-10 23:21
memberjgauffin17-Aug-10 23:21 
General already contains it in more advanced form Pin
AndrusM17-Aug-10 5:53
memberAndrusM17-Aug-10 5:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.171114.1 | Last Updated 12 Aug 2010
Article Copyright 2010 by rudigrobler
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid