Ribbon ContextualTabGroup and Prism RegionManager

Mar 28, 2012 at 8:52 AM

Hi

I use the Ribbon Control together with the Prism RegionManager. My problem is that the ContextualTabGroup has no "group range lines" on the left and rigth from the contextual tabs if I load the tabs with RegionManager. It has just the header border over the tabs.

<ribbon:Ribbon Title="Test"
                       x:Name="Ribbon"
                       DockPanel.Dock="Top"
                       ShowQuickAccessToolBarOnTop="True"
                       cal:RegionManager.RegionName="{x:Static common:ShellRegionNames.RibbonRegion}"
                       MinHeight="0">
            <ribbon:Ribbon.ContextualTabGroups>
                <ribbon:RibbonContextualTabGroup Header="Import/Export"
                                                 Visibility="Visible"
                                                 Background="Blue">
                </ribbon:RibbonContextualTabGroup>
            </ribbon:Ribbon.ContextualTabGroups>
            
            <ribbon:Ribbon.ApplicationMenu>

                <ribbon:RibbonApplicationMenu DataContext="{Binding Source={StaticResource shellSource},Path=Source}"
                                              UsesItemContainerTemplate="True">

                    <ribbon:RibbonApplicationSplitMenuItem Header="Workbench"
                                                           

                </ribbon:RibbonApplicationMenu>

            </ribbon:Ribbon.ApplicationMenu>
        </ribbon:Ribbon>

How can I fix the style?

 

Tobias