IRibbonPanel.AddReferenceButton

Syntax

AddReferenceButton(Value: IRibbonButton);

AddReferenceButton(Value: Prognoz.Platform.Interop.Forms.IRibbonButton);

Parameters

Value. The button, a reference to which is added.

Description

The AddReferenceButton method adds a button that is a reference to from the other panel to the ribbon panel.

Comments

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.

Example

The method use is given in the example for IRibbon.CustomDefaultMenuItem.

See also:

IRibbonPanel