I have been trying to bind the tabs in my XamRibbon to a collection to create them dynamically. I have been searching for ItemsSource properties and ItemContainerStyle with no luck. Can someone please provide an example? Thank you, Mike
Hello Mike,
You have to add the RibbonTab in the XamRibbon manually in the Tabs collection. In these tabs, you can add RibbonGroups in the RibbonGroups collection of the tab. Each RibbonGroup has ItemsSource property which you can set.
More information you can find here:
http://help.infragistics.com/NetAdvantage/WPF/2010.1/CLR3.5/?page=xamRibbon_Using_xamRibbon.html
John Doe said: Hello Mike, You have to add the RibbonTab in the XamRibbon manually in the Tabs collection. In these tabs, you can add RibbonGroups in the RibbonGroups collection of the tab. Each RibbonGroup has ItemsSource property which you can set. More information you can find here: http://help.infragistics.com/NetAdvantage/WPF/2010.1/CLR3.5/?page=xamRibbon_Using_xamRibbon.html
the link is not available...could you please tell me where i can inform myself about this control.
is there really no possibility to bind an observable collection of tabs to my xamribbon control?
regards
cloud
this is exactly what i would need now...
is there a specific reason why you not provide setting the tabs dynamically with binding?
because i can´t figure out why you would not do this.
Hi Alex,
First, I didn't find "ItemSource" property for XamRibbonGroup in reference.
Secondary, is it possible to implement a "common" XamRibbonTabItem so it can be added to the Ribbon in different xaml?
Thanks.
Julie