Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
265
What is the secret to adding Items to Ribbon Groups?
posted

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.