Skip to main content
A newer version of this page is available. .

DiagramControl.CanvasBoundsChanged Event

Occurs when the size of the canvas is changed.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v18.2.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