DiagramControl.InitializeRibbon(RibbonControl) Method

Sets the specified RibbonControl as the diagram’s Ribbon.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v21.2.dll


public void InitializeRibbon(
    RibbonControl ribbon


Name Type Description
ribbon RibbonControl

A RibbonControl object to be used as the diagram’s Ribbon.


To automatically create a Ribbon Control and set it as the diagram’s Ribbon, use the DiagramControl.CreateRibbon method.

To learn more, see Creating Runtime Diagram Designer.

See Also