Add EditBox to RibbonMenu

Add-in Express™ Support Service
That's what is more important than anything else

Add EditBox to RibbonMenu
 
Christian Havel




Posts: 181
Joined: 2010-12-30
Hi,

I am trying to add a EditBox to a RibbonMenu:

private void adxRibbonMenu1_OnCreate(object sender, ADXRibbonCreateMenuEventArgs e)
{
e.AddControl(
new ADXRibbonButton(components)
{
Caption = "Herr Mustermann",
Id = string.Format("nameMenu{0}", Guid.NewGuid())
});

e.AddControl(
new ADXRibbonEditBox(components)
{
Text = "My editBox",
Id = string.Format("editMenu{0}", Guid.NewGuid())
});
}
Only the button appears.
How can I add a EditBox into the AdxRibbonMenu?

Christian
Posted 02 Oct, 2012 06:53:29 Top
Andrei Smolin


Add-in Express team


Posts: 16980
Joined: 2006-05-11
Hi Christian,

The Ribbon schema doesn't allow adding an edit box to a menu.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 02 Oct, 2012 07:46:32 Top
Christian Havel




Posts: 181
Joined: 2010-12-30
Hi Andrei,

thanks for your help!

Where can I find the Ribbon schema to see what kind of controls are possible to add to a menu?

Thanks
Chrisian
Posted 02 Oct, 2012 07:50:21 Top
Andrei Smolin


Add-in Express team


Posts: 16980
Joined: 2006-05-11
Christian,

2007 Office System: XML Schema Reference - http://www.microsoft.com/en-us/download/details.aspx?id=4463
Office 2010 Reference: Office Fluent User Interface XML Schema - http://www.microsoft.com/en-us/download/details.aspx?id=1574

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 02 Oct, 2012 08:17:41 Top