AddReferenceButton(Value: IRibbonButton);
AddReferenceButton(Value: Prognoz.Platform.Interop.Forms.IRibbonButton);
Value. The button, a reference to which is added.
The AddReferenceButton method adds a button that is a reference to from the other panel to the ribbon panel.
The button depends on the state of the button, from which a reference is made, for example: when the main button is deleted, all reference buttons are deleted from all panels.
The method use is given in the example for IRibbon.CustomDefaultMenuItem.
See also: