A newer version of this page is available. Switch to the current version.

DiagramControl Class

Provides a canvas where you or your end-users can display, create and edit various diagrams.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll

Declaration

[ToolboxBitmap(typeof(ToolboxIconsRoot), "DiagramControl")]
[Docking(DockingBehavior.Ask)]
public class DiagramControl :
    DiagramControlBase,
    IDiagramControl,
    ILayersHost,
    ICommandAwareControl<DiagramCommandId>,
    IServiceProvider,
    IMouseWheelSupport,
    ISupportInitialize,
    IGestureClient

Remarks

Diagram_over

See the Getting Started article to learn about capabilities of the Diagram Control.

The Examples section contains a variety of task-based examples.

You can add the complete user interface by creating the Diagram Designer. To learn the basics of creating diagrams with the Diagram Designer, see Diagram Designer and End-User Interaction.

Inheritance

Object
MarshalByRefObject
Component
Control
ControlBase
BaseControl
DevExpress.XtraDiagram.DiagramControlBase
DiagramControl
See Also