Originally Posted 16 March 2017, 11:29 am ESTHi C1 Experts,
I have a number of generic commands which shall be available and executable from a main form, user controls and/or MDI forms.
The main form has a ribbon, while in the user controls you might just have buttons, context menus, perhaps a toolbar or so.
I sometimes want to show context menus which match ribbon groups. The buttons in the ribbon group should match the menu items in the context menu.
I understand that the C1CommandHolder can be used to define commands, and these commands can be linked to
to ribbon, toolbar or menu items.
I haven't used the C1CommandHolder yet.
Is this a good idea? Experiences, recommendations?
Is there an example which shows the combination of all these controls?
Will all linked UI elements update when properties of the command in the CommandHolder change (Enabled, Checked, Visisble, etc..)?
For another project I've created helper functions to create context menus from ribbon groups.
Is there a way to (semi-)automatically match ribbon groups and context menus?
Any information or advice is welcome.