I've heard there's no way to create more commands at run-time than defined in XML file. But in Word there is a command for page sizes with varying quantity of itens depending on default printer. How to do it ? Should I define a large quantity of commands in XML file for a security margin to creating run-time commands ?
Thank you. Regards.
Adalberto José Brasaca
I assume we're talking about the Windows Ribbon Framework. The Page size button in my Word 2010 appears to be a DropDownGallery. I believe you can add/remove items Galleries at runtime. How you do this, I don't know as the documentation and the design of the control itself seem to be from the usual bizzarro world of other complex Win32 controls.
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.