Back to Devexpress

DiagramDrawingContext Enum

windowsforms-devexpress-dot-xtradiagram-8208cdf8.md

latest1.9 KB
Original Source

DiagramDrawingContext Enum

Lists values used to indicate whether the item is to be drawn on the canvas, toolbox, in the print or export output or as the drag preview.

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
public enum DiagramDrawingContext
vb
Public Enum DiagramDrawingContext

Members

NameDescription
Canvas

The item is to be drawn on the canvas.

| | Toolbox |

The item is to be drawn on the toolbox.

| | DragPreview |

The item is to be drawn as the drag preview.

| | Print |

The item is to be drawn on the canvas when printing the diagram.

| | ExportToImage |

The item is to be drawn on the canvas when exporting the diagram to image.

| | ExportToPdf |

The item is to be drawn on the canvas when exporting the diagram to a PDF document.

| | Detached |

The item is to be drawn independently from the diagram control.

|

The following properties accept/return DiagramDrawingContext values:

Remarks

Values listed by this enumeration are used to set the value of the CustomDrawItemEventArgs.Context property.

See Also

DevExpress.XtraDiagram Namespace