DiagramControl.InitializeRibbon(RibbonControl) Method

Sets the specified RibbonControl as the diagram's Ribbon.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

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

Parameters

Name Type Description
ribbon RibbonControl

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

Remarks

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