windowsforms-devexpress-dot-xtradiagram.md
Provides a canvas where you or your end-users can display, create and edit various diagrams.
Namespace : DevExpress.XtraDiagram
Assembly : DevExpress.XtraDiagram.v25.2.dll
NuGet Package : DevExpress.Win.Diagram
[DXLicenseWinForms]
public class DiagramControl :
DiagramControlBase,
IDiagramControl,
ILayersHost,
ICommandAwareControl<DiagramCommandId>,
IServiceProvider,
IMouseWheelSupport,
ISupportInitialize,
IGestureClient,
ISupportAsyncScrollAnimation
<DXLicenseWinForms>
Public Class DiagramControl
Inherits DiagramControlBase
Implements IDiagramControl,
ILayersHost,
ICommandAwareControl(Of DiagramCommandId),
IServiceProvider,
IMouseWheelSupport,
ISupportInitialize,
IGestureClient,
ISupportAsyncScrollAnimation
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.
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.
Object MarshalByRefObject Component Control DevExpress.XtraEditors.XtraControl ControlBase BaseControl DevExpress.XtraDiagram.DiagramControlBase DiagramControl
Show 12 items
ForEachSelectedItem(Action<DiagramItem>)
CreateShape(ShapeDescription, Boolean)
CreateShape(ShapeDescription, RectangleF, Boolean)
CreateBitmap(Nullable<Single>, Nullable<Single>)
CreateBitmap(RectangleF, Nullable<Single>, Nullable<Single>)
ShowPrintPreviewDiagram(ScaleSettings)
GetBackgroundPages(DiagramDrawingContext, Double)
DrawDetachedItem(DiagramItem, GraphicsCache)
See Also