Skip to main content

DiagramControl Class

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

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v23.2.dll

NuGet Package: DevExpress.Wpf.Diagram


public class DiagramControl :

The following members return DiagramControl objects:



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

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

The Diagram Designer Control represented by the DiagramDesignerControl class provides the complete visual interface. The End-User Interaction article describes end-user operations available in the Diagram Control and Diagram Designer Control.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DiagramControl class.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also