RadDiagramRibbonBar is a ribbon control that has been wired to work with the API that RadDiagram exposes.
As of R3 2022 RadDiagramRibbonBar allows you to disable the default logic for the
Savebuttons. Then, it is possible to subscribe to the Click event of the respective button and introduce any custom logic. The following public properties are available (by default, they are set to false):
- DisableDefaultNewAction - disables the
Newbutton's default logic.
- DisableDefaultOpenAction - disables the
Openbutton's default logic.
- DisableDefaultSaveAction - disables the
Savebutton's default logic.
RadDiagramRibbonBar can be found in the Toolbox of Visual Studio, if you have installed the controls automatically. In order to use it, drag an instance of the RadDiagramRibbonBar in the designer area and drop it. Then, you can set the associated RadDiagram by either using the smart tag or setting the AssociatedDiagram property.
RadDiagramRibbonBar introduces UI for saving and loading predefined diagramming layouts. Additionally, you can manipulate the ZOrder of the shapes and perform clipboard operations.