DiagramControl.InitializeRibbon(RibbonControl) Method

Sets the specified RibbonControl as the diagram's Ribbon.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll


public void InitializeRibbon(
    RibbonControl ribbon
Public Sub InitializeRibbon(
    ribbon As RibbonControl


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