Skip to main content

DiagramControl.CanvasBoundsChanged Event

Occurs when the size of the Canvas is changed.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v24.1.dll

NuGet Package: DevExpress.Wpf.Diagram


public event EventHandler<DiagramCanvasBoundsChangedEventArgs> CanvasBoundsChanged

Event Data

The CanvasBoundsChanged event's data class is DevExpress.Xpf.Diagram.DiagramCanvasBoundsChangedEventArgs.


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

See Also