In-Ribbon Galleries with the Microsoft Ribbon Control

I've been developing a WPF ribbon application using the controls in the System.Windows.Controls.Ribbon namespace. The more I use this, the more I find features missing here and there when compared with other ribbons like the ones from Microsoft Office. One of these features I can't seem to find is the "In-Ribbon Gallery". Like the "Styles" gallery from MS Word:
Temp.PNGI have a few places I would like to use this but I can't seem to find a control for it. Any ideas how I can achieve this?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
I wonder if the ribbon control here has what you need?

Jacques Bourgeois (James Burger)PresidentCommented:
You might recreate something similar by filling in a standard ListView control that you display at the desired location.

And does not the Font control OK for that purpose, event if it is simpler?
BROOKLYN1950Author Commented:
I have looking into the Fluent Ribbon but would like to avoid remaking the whole ribbon, since I already have it done with the Microsoft Ribbon.

I might be able to do something with the ListView, but I was hoping to stick with Ribbon controls so that it could easily integrate with the other ribbon features (like the sizing).

As for the Font control, that is not what I'm looking for. I'm not trying to make ComboBox (and not for fonts either).
BROOKLYN1950Author Commented:
I was able to get something pretty close by using the System.Windows.Controls.Ribbon.Primitives.RibbonMenuItemsPanel and filling it with a RibbonGallery which in turn is filled with a RibbonGalleryCatagory.

I applied this style to the RibbonMenuItemsPanel:

<Style TargetType="rp:RibbonMenuItemsPanel" x:Key="InRibbonGalleryPanel">
    <Setter Property="Height" Value="50"/>
    <Setter Property="Margin" Value="5"/>

Open in new window

And I used this style for the RibbonGalleryCatagory.ItemContainerStyle:

    <Style TargetType="RibbonGalleryItem" x:Key="InRibbonGalleryItem">
        <Setter Property="Height" Value="44"/>
        <Setter Property="Width" Value="56"/>
        <Setter Property="Margin" Value="2"/>
        <Setter Property="Padding" Value="2"/>
        <Setter Property="ContentTemplate">
                    <Viewbox StretchDirection="DownOnly">
                        <TextBlock Text="{Binding}"/>

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BROOKLYN1950Author Commented:
I ended up figuring out a solution myself.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.