InRibbonGallery Hides Buttons?

Aug 3, 2010 at 1:06 PM

I have an InRibbonGallery with togglebuttons. The problem is, the buttons don't show in the designer, and then when i debug they show until I change to a different tab, and they disappear!

 

Here is my code:

 <Fluent:InRibbonGallery MaxItemsInRow="4">

<Fluent:ToggleButton x:Name="Button1" Icon="/RibbonSample;component/Images/button.png" GroupName="GalleryButtons" Size="Small" />                        

<Fluent:ToggleButton x:Name="Button2" Icon="/RibbonSample;component/Images/button.png" GroupName="GalleryButtons" Size="Small" />

<Fluent:ToggleButton x:Name="Button3" Icon="/RibbonSample;component/Images/button.png" GroupName="GalleryButtons" Size="Small" />

<Fluent:ToggleButton x:Name="Button4" Icon="/RibbonSample;component/Images/button.png" GroupName="GalleryButtons" Size="Small" />

<Fluent:ToggleButton x:Name="Button5" Icon="/RibbonSample;component/Images/button.png" GroupName="GalleryButtons" Size="Small" />

<Fluent:ToggleButton x:Name="Button6" Icon="/RibbonSample;component/Images/button.png" GroupName="GalleryButtons" Size="Small" />

<Fluent:ToggleButton x:Name="Button7" Icon="/RibbonSample;component/Images/button.png" GroupName="GalleryButtons" Size="Small" />

<Fluent:ToggleButton x:Name="Button8" Icon="/RibbonSample;component/Images/button.png" GroupName="GalleryButtons" Size="Small" />

</Fluent:InRibbonGallery> 

 

What is wrong? Or is this a bug?

                        
                        
                        
                      

 

 

Aug 5, 2010 at 11:59 AM
nobody can help? I can see this being used in other Fluent Ribbon applications so it clearly isn't a permanent bug..
Aug 6, 2010 at 11:14 PM

never mind, I found a workaround :)