Skip to main content

DiagramControl.CanvasBoundsChanged Event

Occurs when the size of the canvas is changed.

Namespace: DevExpress.XtraDiagram

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