A newer version of this page is available. Switch to the current version.

CustomDrawItemEventArgs.Context Property

Returns the value that indicates 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.v19.1.dll

Declaration

public DiagramDrawingContext Context { get; }

Property Value

Type Description
DiagramDrawingContext

A DiagramDrawingContext 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.

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
See Also