Ribbon and RibbonContextualTabGroup

Apr 5, 2014 at 12:35 AM
Edited Apr 5, 2014 at 12:39 AM

I have a question, that I think might be a bug somewhere.

I have this (relevante code):
 <fluent:Ribbon Name="ribbon"  Grid.Row="0" Visibility="{Binding Path=IsRibbonsVisible, Converter={StaticResource booleanToVisibilityConverter}}">
                <fluent:RibbonContextualTabGroup Header="Tools" Visibility="Collapsed" x:Name="toolsGroup" Background="Green" BorderBrush="Green" />
<fluent:RibbonTabItem Header="Contextual Tab" Name="contexttab" Visibility="Hidden" Group="{Binding ElementName=toolsGroup}"/>
When I start the application with the ribbon collapsed, the contextual menu never appear's...if I start with Visibility="Visible" it works just fine.

I'm using MVVM...

Anyone can give me a tip?

Apr 10, 2014 at 2:02 PM
If you want to hide the Ribbon you should better use IsMinimized.
Maybe that works.
Apr 11, 2014 at 1:18 PM
I'll try it out. tks
Jun 28, 2014 at 9:08 AM
Did it work that way?
Jun 29, 2014 at 11:09 PM
I had to add it in code behind.... isMinized did not work as well
Jul 10, 2014 at 7:01 AM
Try set both fluent:RibbonContextualTabGroup and fluent:RibbonTabItem 's visibilty with same value, such as "hidden"
and set fluent:RibbonContextualTabGroup 's visiblity to visible not set tabitem 's when you wants to show this contextual ribbon item.
That is work. In my project.

And if there is still any problem. Please attached a sample to show your problem.
Marked as answer by batzen on 9/20/2014 at 4:17 AM