CustomDrawBackgroundEventArgs.Context Property
Gets 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.1.dll
NuGet Package: DevExpress.Win.Diagram
Declaration
Property Value
| Type | Description |
|---|---|
| DiagramDrawingContext | A DiagramDrawingContext enumeration value. |
Available values:
| Name | Description |
|---|---|
| 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. |
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. |
See Also