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

DiagramControl.CanvasBoundsChanged Event

Occurs when the size of the canvas is changed.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll

Declaration

[DiagramCategory(DiagramCategory.DiagramDocument)]
public event EventHandler<DiagramCanvasBoundsChangedEventArgs> CanvasBoundsChanged

Event Data

The CanvasBoundsChanged event's data class is DevExpress.XtraDiagram.DiagramCanvasBoundsChangedEventArgs.

Remarks

The event’s OldBounds and NewBounds read-only parameters return the size of the canvas before and after modification.

See Also