You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

DiagramDesignerControl Class

The Diagram Designer control.

Namespace: DevExpress.Xpf.Diagram

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

Declaration

public class DiagramDesignerControl :
    DiagramControl
Public Class DiagramDesignerControl
    Inherits DiagramControl

Remarks

The Diagram Designer features a DiagramControl with a user interface for creating, editing, saving and loading diagrams at runtime.

To add the Diagram Designer to your application, locate the DiagramDesignerControl item in the Toolbox and drop it onto the form. The following assemblies are automatically added:

  • DevExpress.Data.v20.2
  • DevExpress.Diagram.v20.2.Core
  • DevExpress.Images.v20.2
  • DevExpress.Mvvm.v20.2
  • DevExpress.Xpf.Core.v20.2
  • DevExpress.Xpf.Diagram.v20.2
  • DevExpress.Xpf.Docking.v20.2
  • DevExpress.Xpf.DocumentViewer.v20.2.Core
  • DevExpress.Xpf.PropertyGrid.v20.2
  • DevExpress.Xpf.Ribbon.v20.2
     <Grid xmlns:dxdiag="http://schemas.devexpress.com/winfx/2008/xaml/diagram">
        <dxdiag:DiagramDesignerControl SelectedStencils="BasicShapes, BasicFlowchartShapes"/>
    </Grid>

Diagram_Large

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

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

The End-User Interaction article describes end-user operations available in the Diagram Control and Diagram Designer Control.

See Also