Suppose one has a regular RibbonGroup and one wants to add, say a TextBox or a Button to the Ribbon Group.
If one clicks the Items collection, one gets the properties window for the Items.
Add is disabled. No luck there...
So, visit the toolbox and try to add a button to the RibbonGroup. No luck there...
Tried to add any of the 3, near as I can tell identical, Infragistics Toolbox items containing the word "Button". No luck there... VS just kind of hangs for a second then... nothing... One can add Microsoft controls (not to the ribbon, just to a Window) all day and all night; Infragistics controls apparently don't like to be added.
So, visit the Samples explorer that was installed. The only sample containing the Ribbon is a convoluted mess of nonsense that throws designer exceptions and won't run. No luck there...
So, resign myself to programming in Notepad and write the XAML to add a button... This works but begs the question as to why one cannot add a button through the Visual elements of the Infragistics world. I mean why have a Toolbox and Designer Properties if one can't use them?
What is the secret to adding elements to a RibbonGroup? Did I forget to click some magic button somewhere that will allow Infragistics elements to be added to a RibbonGroup using the designer?
Two workstations exhibit this same behavior. Visual Studio 2008 and 2010 both exhibit this same behavior.
Dear Mr. Sloan,
I have been looking through your post and assume you haven’t read through the documentation regarding the XamRibbon. Here is a link from our website that you should find useful: http://help.infragistics.com/NetAdvantage/WPF/2010.2/CLR4.0/?page=xamRibbon_Creating_xamRibbon_in_XAML.html I also suggest looking through these as well: http://help.infragistics.com/NetAdvantage/WPF/2010.2/CLR4.0/?page=xamRibbon.html In the documentation the suggested way for using the XamRibbon (using the Infragistics Tools) is described.
Nevertheless I have created a small video showing you how you can add the MS controls inside a RibbonGroup in the designer (Adding_MS_controls_in_XamRibbon_RibbonGroup.zip). If you are experiencing any different behavior please describe it more details along with a detailed description of your environment, so we can reproduce and investigate it.
From your description I am also not sure which samples are you referring to, but you can check out the 23 XamRibbon samples in the Feature Browser and especially the Composition Walkthrough section (FeatureBrowser.png).
Please let us know if you require any further assistance on the matter.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support